Page MenuHomePhabricator

[asan] Fix odr_c_test failure with gold linker
ClosedPublic

Authored by bruening on Mar 3 2016, 9:42 AM.

Details

Reviewers
kcc
samsonov
Summary

Adds another global to asan's odr_c_test to help force the target global to
not lie at the start of bss with the gold linker where it is always
aligned.

Diff Detail

Event Timeline

bruening updated this revision to Diff 49747.Mar 3 2016, 9:42 AM
bruening retitled this revision from to [asan] Fix odr_c_test failure with gold linker.
bruening updated this object.
bruening added a reviewer: kcc.
bruening added a subscriber: llvm-commits.
samsonov accepted this revision.Mar 3 2016, 10:33 AM
samsonov added a reviewer: samsonov.
samsonov added a subscriber: samsonov.

LGTM

This revision is now accepted and ready to land.Mar 3 2016, 10:33 AM

I am not yet an LLVM committer. Could you submit this patch on my behalf? Thank you.

samsonov closed this revision.Mar 3 2016, 4:46 PM

Submitted as r262678.