| commit | 146f60d40607025073df18347373800a0d8fcb7c | [log] [tgz] |
|---|---|---|
| author | kuba.brecka <kuba.brecka> | Fri Apr 21 16:57:37 2017 |
| committer | kuba.brecka <kuba.brecka> | Fri Apr 21 16:57:37 2017 |
| tree | 9c4880135fd5b6e38b99b236d757d9a074d33ab3 | |
| parent | 35efde195919721677a13640e4a765750d27ab66 [diff] |
[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
git-svn-id: svn://svn.chromium.org/llvm-project/llvm/trunk/lib/Fuzzer@300999 0b72dbe1-c17f-4bc7-b9db-2b4152be0356