NFC for targets other than PS4.
Simplify users' workflow when enabling asan or ubsan and calling the linker separately.
Paths
| Differential D47375
[Driver] Add flag "--dependent-lib=..." when enabling asan or ubsan on PS4. ClosedPublic Authored by pgousseau on May 25 2018, 8:17 AM.
Details
Summary NFC for targets other than PS4. Simplify users' workflow when enabling asan or ubsan and calling the linker separately.
Diff Detail
Event TimelineComment Actions LGTM with the indicated test tweak, but best if @filcab also takes a look.
Comment Actions I have a minor nit + what Paul mentioned (missing a -NOT check). Otherwise LGTM.
Closed by commit rL334096: [Driver] Add flag "--dependent-lib=..." when enabling asan or ubsan on PS4. (authored by pgousseau). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 150130 cfe/trunk/lib/Driver/ToolChains/Clang.cpp
cfe/trunk/lib/Driver/ToolChains/PS4CPU.h
cfe/trunk/lib/Driver/ToolChains/PS4CPU.cpp
cfe/trunk/test/Driver/fsanitize.c
cfe/trunk/test/Driver/sanitizer-ld.c
|