This is an archive of the discontinued LLVM Phabricator instance.

[HWASAN][CMake] Allow instrumenting LLVM/clang
ClosedPublic

Authored by evgeny777 on Jun 3 2019, 8:49 AM.

Details

Summary

One can't simply pass -fsanitize=hwaddress to CFLAGS, because DSOs will fail to link due to -Wl,-z,defs being passed to linker

Diff Detail

Repository
rL LLVM

Event Timeline

evgeny777 created this revision.Jun 3 2019, 8:49 AM
eugenis accepted this revision.Jun 3 2019, 1:07 PM

LGTM

This revision is now accepted and ready to land.Jun 3 2019, 1:07 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 4 2019, 2:04 AM