aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/DynamicLibrary.cpp
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2017-04-21 16:57:37 +0000
committerKuba Mracek <mracek@apple.com>2017-04-21 16:57:37 +0000
commit9eb170fede34b4cf3ee43998e4e0f04240b72b3b (patch)
tree426e953f123755f2e79e96e1dfafb8f789b5e1d0 /llvm/lib/Support/DynamicLibrary.cpp
parent894da663203c2cb28a54cb0b6ffdf380792e6057 (diff)
downloadllvm-9eb170fede34b4cf3ee43998e4e0f04240b72b3b.zip
llvm-9eb170fede34b4cf3ee43998e4e0f04240b72b3b.tar.gz
llvm-9eb170fede34b4cf3ee43998e4e0f04240b72b3b.tar.bz2
[libFuzzer] Check for target(popcnt) capability before usage
Older compilers (e.g. LLVM 3.4) do not support the attribute target("popcnt"). In order to support those, this diff check the attribute support using the preprocessor. Patch by George Karpenkov. Differential Revision: https://reviews.llvm.org/D32311 llvm-svn: 300999
Diffstat (limited to 'llvm/lib/Support/DynamicLibrary.cpp')
0 files changed, 0 insertions, 0 deletions