diff options
author | David CARLIER <devnexen@gmail.com> | 2023-04-10 12:38:26 +0100 |
---|---|---|
committer | David CARLIER <devnexen@gmail.com> | 2023-04-10 12:38:26 +0100 |
commit | a0818c4fceff67e2cff986432c98e3ac1211bdd8 (patch) | |
tree | 453c8fb957bb8647ec9d4c382e7822aa7a33c070 | |
parent | 0782ed38414bed37168feafc971fd102b8294510 (diff) | |
download | afl++-a0818c4fceff67e2cff986432c98e3ac1211bdd8.tar.gz |
LLVM instrumentation disable build warning.
Since clang 16 is the version for Ubuntu 23 04/Fedora 38 and is easy enough to fix..
-rw-r--r-- | instrumentation/SanitizerCoverageLTO.so.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/SanitizerCoverageLTO.so.cc b/instrumentation/SanitizerCoverageLTO.so.cc index 9691f17f..b024179a 100644 --- a/instrumentation/SanitizerCoverageLTO.so.cc +++ b/instrumentation/SanitizerCoverageLTO.so.cc @@ -1781,6 +1781,7 @@ INITIALIZE_PASS_END(ModuleSanitizerCoverageLTOLegacyPass, "sancov-lto", "Pass for instrumenting coverage on functions", false, false) +#if LLVM_VERSION_MAJOR < 16 static void registerLTOPass(const PassManagerBuilder &, legacy::PassManagerBase &PM) { @@ -1789,7 +1790,6 @@ static void registerLTOPass(const PassManagerBuilder &, } -#if LLVM_VERSION_MAJOR < 16 static RegisterStandardPasses RegisterCompTransPass( PassManagerBuilder::EP_OptimizerLast, registerLTOPass); |