diff options
author | George Karpenkov <ekarpenkov@apple.com> | 2018-07-20 23:34:39 +0000 |
---|---|---|
committer | George Karpenkov <ekarpenkov@apple.com> | 2018-07-20 23:34:39 +0000 |
commit | 8d12fc19076a86c1494602adc5a52dbc3daf8662 (patch) | |
tree | 9ddcb43cb425021ebdb787e6f78fa8c63b80a581 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bbfe0b79e28cba4d4860986807c678ff549e0050 (diff) | |
download | bcm5719-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