Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Issue 924002: Fix gcc vs clang cpuid.h discrepency. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by Lei Zhang (chromium)
Modified:
10 years, 4 months ago
Reviewers:
Mark Mentovai, thakis
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Fix gcc vs clang cpuid.h discrepency.

For r1254, gcc defines bit_FXSAVE while clang defines bit_FXSR.

R=mark@chromium.org

Committed: https://code.google.com/p/google-breakpad/source/detail?r=1260

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/linux/minidump_writer/linux_ptrace_dumper.cc View 1 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 7
Lei Zhang (chromium)
I wonder if Clang should make its cpuid.h gcc compatible.
10 years, 4 months ago #1
Mark Mentovai
LGTM https://breakpad.appspot.com/924002/diff/1/src/client/linux/minidump_writer/linux_ptrace_dumper.cc File src/client/linux/minidump_writer/linux_ptrace_dumper.cc (right): https://breakpad.appspot.com/924002/diff/1/src/client/linux/minidump_writer/linux_ptrace_dumper.cc#newcode198 src/client/linux/minidump_writer/linux_ptrace_dumper.cc:198: #if defined (__clang__) #ifndef bit_FXSAVE instead?
10 years, 4 months ago #2
thakis
Looks like this is a bug in the gcc headers that they don't want to ...
10 years, 4 months ago #3
Lei Zhang (chromium)
https://breakpad.appspot.com/924002/diff/1/src/client/linux/minidump_writer/linux_ptrace_dumper.cc File src/client/linux/minidump_writer/linux_ptrace_dumper.cc (right): https://breakpad.appspot.com/924002/diff/1/src/client/linux/minidump_writer/linux_ptrace_dumper.cc#newcode198 src/client/linux/minidump_writer/linux_ptrace_dumper.cc:198: #if defined (__clang__) On 2013/12/14 13:56:27, Mark Mentovai wrote: ...
10 years, 4 months ago #4
Lei Zhang (chromium)
Committed patchset #2 manually as r1260 (presubmit successful).
10 years, 4 months ago #5
thakis
http://llvm.org/viewvc/llvm-project?view=revision&revision=197399 Hopefully, this can be removed again soon. On Sat, Dec 14, 2013 at 11:17 ...
10 years, 4 months ago #6
Lei Zhang (chromium)
10 years, 4 months ago #7
Message was sent while issue was closed.
Maybe. If we remove it, I suspect someone somewhere will still be using an older
version of Clang and complain.

On 2013/12/16 18:09:23, thakis wrote:
> http://llvm.org/viewvc/llvm-project?view=revision&revision=197399
> 
> Hopefully, this can be removed again soon.
> 
> 
> On Sat, Dec 14, 2013 at 11:17 AM, <mailto:thestig@chromium.org> wrote:
> 
> > Committed patchset #2 manually as r1260 (presubmit successful).
> >
> > https://breakpad.appspot.com/924002/
> >
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted