|
|
Created:
6 years, 7 months ago by Alexander Potapenko Modified:
6 years, 7 months ago Reviewers:
Nico CC:
chromium-reviews Base URL:
svn://svn.chromium.org/chrome/trunk/src Visibility:
Public. |
DescriptionSet the default visibility for __asan_default_options.
BUG=368351
R=thakis@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268161
Patch Set 1 #Patch Set 2 : Added a TODO #Patch Set 3 : set default visibility #Patch Set 4 : added __attribute__(used) #Messages
Total messages: 24 (0 generated)
PTAL
"Chromium-packaged Clang doesn't contain the .syms file" on the bug suggests that this is no longer needed once we include these, is that right? If so, change the TODO text to "Remove after the next clang roll, crbug.com/$number" (and prepare a CL for bundling the syms files, I assume they're small.)
…and lgtm
On 2014/04/30 15:31:27, Nico wrote: > "Chromium-packaged Clang doesn't contain the .syms file" on the bug suggests > that this is no longer needed once we include these, is that right? If so, > change the TODO text to "Remove after the next clang roll, crbug.com/$number" > (and prepare a CL for bundling the syms files, I assume they're small.) No, that's worse. Right now the Chromium-packaged Clang works because it doesn't contain the .syms file, and any other Clang does not. But having the .syms file is a right thing to do (it reduces the size of the symbol table) despite it'll break the Chromium-packaged Clang (I think we anyway want to allow the users use their own Clang). This particular hack can be removed only after the problem is fixed in binutils and Chromium switches to the appropriate gold version.
Added a TODO, committing.
The CQ bit was checked by glider@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/254293002/20001
On 2014/04/30 15:56:20, Alexander Potapenko wrote: > On 2014/04/30 15:31:27, Nico wrote: > > "Chromium-packaged Clang doesn't contain the .syms file" on the bug suggests > > that this is no longer needed once we include these, is that right? If so, > > change the TODO text to "Remove after the next clang roll, crbug.com/$number" > > (and prepare a CL for bundling the syms files, I assume they're small.) > > No, that's worse. > Right now the Chromium-packaged Clang works because it doesn't contain the .syms > file, and any other Clang does not. > But having the .syms file is a right thing to do (it reduces the size of the > symbol table) despite it'll break the Chromium-packaged Clang Why does it break our clang? > (I think we anyway > want to allow the users use their own Clang (No, we don't want to support that.) > This particular hack can be removed only after the problem is fixed in binutils > and Chromium switches to the appropriate gold version.
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium
Nico, can you please take another look? Regardless of whether there's an error in handling visibility=hidden and dynamic lists (I've sent a letter to the gold maintainer to clarify this), the problem can be solved by setting visibility=default for __asan_default_options(). Sorry I haven't tried that before.
lgtm That's better, thanks! …actually, I think we have some build step on Mac that checks the list of exported symbols; you might have to disable that step for asan. (Maybe it already doesn't run for asan?)
On 2014/04/30 17:25:06, Nico wrote: > lgtm > > That's better, thanks! I've also added __attribute__(used) like Sergey recently did for the very same __asan_default_options in NaCl. > …actually, I think we have some build step on Mac that checks the list of > exported symbols; you might have to disable that step for asan. (Maybe it > already doesn't run for asan?) IIRC it does not, or at least it's horribly broken. There's been asan.saves that was passed in xcode_settings, but I haven't updated it since the switch to Ninja happened.
The CQ bit was checked by glider@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/254293002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium linux_chromium_rel on tryserver.chromium
The CQ bit was checked by glider@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/254293002/60001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium
The CQ bit was checked by glider@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/glider@chromium.org/254293002/60001
Message was sent while issue was closed.
Change committed as 268161 |