aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-09-14 22:19:10 +0000
committerEric Fiselier <eric@efcs.ca>2017-09-14 22:19:10 +0000
commit6892062f7c1df89ae130c07662d50a90ddb82ea2 (patch)
tree9f7fb955dc421d7e370183fbc042b053092a7482 /clang/lib/Frontend/CompilerInvocation.cpp
parent1f2f57a7eaadf67ba13aa0345303d99fc859463d (diff)
downloadllvm-6892062f7c1df89ae130c07662d50a90ddb82ea2.zip
llvm-6892062f7c1df89ae130c07662d50a90ddb82ea2.tar.gz
llvm-6892062f7c1df89ae130c07662d50a90ddb82ea2.tar.bz2
[ASAN] Add macro denoting availability of new `__asan_handle_no_return()` function.
Summary: Libc++abi attempts to use the newly added `__asan_handle_no_return()` when built under ASAN. Unfortunately older versions of compiler-rt do not provide this symbol, and so libc++abi needs a way to detect if `asan_interface.h` actually provides the function. This patch adds the macro `SANITIZER_ASAN_INTERFACE_HAS_HANDLE_NO_RETURN` which can be used to detect the availability of the new function. Reviewers: phosek, kcc, vitalybuka, alekseyshl Reviewed By: phosek Subscribers: mclow.lists, cfe-commits Differential Revision: https://reviews.llvm.org/D37871 llvm-svn: 313303
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions