NFC for targets other than PS4.
Respect -nostdlib and -nodefaultlibs when enabling asan or ubsan.
Paths 
  |  Differential  D55712  
[Driver][PS4] Do not implicitly link against asan or ubsan if -nostdlib or -nodefaultlibs on PS4. ClosedPublic Authored by pgousseau on Dec 14 2018, 10:14 AM. 
Details 
 Summary NFC for targets other than PS4. Respect -nostdlib and -nodefaultlibs when enabling asan or ubsan. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Dec 18 2018, 7:58 AM Comment Actions 
 Will do! Thanks for reviewing. Closed by commit rC349508: [Driver][PS4] Do not implicitly link against asan or ubsan if -nostdlib or… (authored by pgousseau).  ·  Explain WhyDec 18 2018, 9:06 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 178697 lib/Driver/ToolChains/Clang.cpp
 lib/Driver/ToolChains/PS4CPU.cpp
 test/Driver/fsanitize.c
 test/Driver/sanitizer-ld.c
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||