This is an archive of the discontinued LLVM Phabricator instance.

[asan] Enable -asan-use-private-alias on Darwin/Mach-O, add test for ODR false positive with LTO
ClosedPublic

Authored by kubamracek on Sep 7 2016, 4:55 AM.

Details

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek updated this revision to Diff 70520.Sep 7 2016, 4:55 AM
kubamracek retitled this revision from to [asan] Enable -asan-use-private-alias on Darwin/Mach-O, add test for ODR false positive with LTO.
kubamracek updated this object.
kubamracek added reviewers: kcc, eugenis, m.ostapenko.
kubamracek added a project: Restricted Project.
kubamracek added a subscriber: zaks.anna.
m.ostapenko edited edge metadata.Sep 7 2016, 10:20 AM

I'm really glad that you found this useful! I'm not good with Darwin and Mach-OS, so could you tell me whether it has something similar to -fvisibility=hidden stuff?

I'm really glad that you found this useful! I'm not good with Darwin and Mach-OS, so could you tell me whether it has something similar to -fvisibility=hidden stuff?

-fvisibility=hidden works on Darwin, as far as I know.

Ok with me, thanks! Kostya, Evgenii, do you mind?

eugenis edited edge metadata.Sep 8 2016, 12:27 PM

Not at all.

m.ostapenko accepted this revision.Sep 8 2016, 11:07 PM
m.ostapenko edited edge metadata.
This revision is now accepted and ready to land.Sep 8 2016, 11:07 PM
This revision was automatically updated to reflect the committed changes.