aboutsummaryrefslogtreecommitdiff
path: root/instrumentation
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-11-10 15:06:02 +0100
committervanhauser-thc <vh@thc.org>2022-11-10 15:06:02 +0100
commit2323952d6217aac36f2866dc4596e6b81a0d380e (patch)
tree732327a70dde761f43ce43a2d758c6da183395be /instrumentation
parentdfc6d0fbf734c6910b3223ce3d25f206b8ee3e40 (diff)
downloadAFLplusplus-2323952d6217aac36f2866dc4596e6b81a0d380e.tar.gz
update for llvm16 compile instructions
Diffstat (limited to 'instrumentation')
-rw-r--r--instrumentation/README.lto.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/instrumentation/README.lto.md b/instrumentation/README.lto.md
index 172115ae..a1c2f44a 100644
--- a/instrumentation/README.lto.md
+++ b/instrumentation/README.lto.md
@@ -118,10 +118,11 @@ cmake \
-DLLVM_LINK_LLVM_DYLIB="ON" \
-DLLVM_TARGETS_TO_BUILD="host" \
../llvm/
+# NOTE: for llvm 16 this needs to be changed to:
+# -DLLVM_ENABLE_PROJECTS='clang;compiler-rt;lld' \
+# -DLLVM_ENABLE_RUNTIMES='libcxx;libcxxabi' \
cmake --build . -j4
-export PATH="$(pwd)/bin:$PATH"
export LLVM_CONFIG="$(pwd)/bin/llvm-config"
-export LD_LIBRARY_PATH="$(llvm-config --libdir)${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
cd /path/to/AFLplusplus/
make
sudo make install