diff options
| author | hexcoder- <heiko@hexco.de> | 2022-07-19 23:03:20 +0200 |
|---|---|---|
| committer | hexcoder- <heiko@hexco.de> | 2022-07-19 23:03:20 +0200 |
| commit | 42c677aa7bebf5cacf1d2cc603a59044a19616c2 (patch) | |
| tree | b5967da7ef11e9f5d9064cab385d516cd40b5602 /instrumentation | |
| parent | 0373628adf2e27079b84048c474db1c8cbea49ed (diff) | |
| download | afl++-42c677aa7bebf5cacf1d2cc603a59044a19616c2.tar.gz | |
fix compilation for llvm 10.0
Diffstat (limited to 'instrumentation')
| -rw-r--r-- | instrumentation/SanitizerCoveragePCGUARD.so.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc index d5f56aa8..6aa69546 100644 --- a/instrumentation/SanitizerCoveragePCGUARD.so.cc +++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc @@ -262,7 +262,8 @@ class ModuleSanitizerCoverageLegacyPass : public ModulePass { } // namespace -#if 1 +#if LLVM_VERSION_MAJOR >= 11 /* use new pass manager */ + extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK llvmGetPassPluginInfo() { |
