diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-09-14 22:19:28 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-09-14 22:19:28 +0000 |
commit | 8635f7d2c64cf34014c2acc6f910692942c42fa6 (patch) | |
tree | 1d794018fc1fb77901d6b97e39c692bf89d4e480 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6892062f7c1df89ae130c07662d50a90ddb82ea2 (diff) | |
download | llvm-8635f7d2c64cf34014c2acc6f910692942c42fa6.zip llvm-8635f7d2c64cf34014c2acc6f910692942c42fa6.tar.gz llvm-8635f7d2c64cf34014c2acc6f910692942c42fa6.tar.bz2 |
[libc++abi] Fix ASAN build with older compiler-rt versions.
Summary:
compiler-rt recently added the `__asan_handle_no_return()` function that libc++abi needs to use, however older versions of compiler-rt don't provide this interface and that breaks the libc++abi build.
This patch attempts to fix the issues by using a macro to detect if `asan_interface.h` is new enough to provide the function.
See D37871
Reviewers: phosek, vitalybuka
Reviewed By: phosek, vitalybuka
Subscribers: dberris, cfe-commits
Differential Revision: https://reviews.llvm.org/D37872
llvm-svn: 313304
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions