summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorGeorge Karpenkov <ekarpenkov@apple.com>2018-07-20 23:34:39 +0000
committerGeorge Karpenkov <ekarpenkov@apple.com>2018-07-20 23:34:39 +0000
commit8d12fc19076a86c1494602adc5a52dbc3daf8662 (patch)
tree9ddcb43cb425021ebdb787e6f78fa8c63b80a581 /clang/lib/Frontend/CompilerInvocation.cpp
parentbbfe0b79e28cba4d4860986807c678ff549e0050 (diff)
downloadbcm5719-llvm-8d12fc19076a86c1494602adc5a52dbc3daf8662.tar.gz
bcm5719-llvm-8d12fc19076a86c1494602adc5a52dbc3daf8662.zip
[Driver] Sanitizer support based on runtime library presence
The runtime libraries of sanitizers are built in compiler-rt, and Clang can be built without compiler-rt, or compiler-rt can be configured to only build certain sanitizers. The driver should provide reasonable diagnostics and not a link-time error when a runtime library is missing. This patch changes the driver for OS X to only support sanitizers of which we can find the runtime libraries. The discussion for this patch explains the rationale Differential Revision: https://reviews.llvm.org/D15225 llvm-svn: 337635
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud