Page MenuHomePhabricator

[sanitizer] Use -Wl,-z,global on Android for sanitizers except UBsan
ClosedPublic

Authored by srhines on Oct 2 2018, 12:17 AM.

Details

Summary

This essentially reverts r337010 since it breaks UBSan, which is used
for a few platform libraries. The "-z global" flag is now added for
Scudo as well. The only other sanitizer shared libraries are for asan
and hwasan, which have also been reinstated to use the global flag.

Diff Detail

Repository
rL LLVM

Event Timeline

srhines created this revision.Oct 2 2018, 12:17 AM
Herald added subscribers: Restricted Project, delcypher, mgorny, kubamracek. · View Herald TranscriptOct 2 2018, 12:17 AM
cryptoad accepted this revision.Oct 2 2018, 7:38 AM

Thanks!

This revision is now accepted and ready to land.Oct 2 2018, 7:38 AM
This revision was automatically updated to reflect the committed changes.