From faf905b9b694313bed4531d1299568a101f33fb8 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Mon, 24 Feb 2025 11:42:25 +0100 Subject: [PATCH] doc: Remove unused -fPIC This is harmless, but no longer needed after commit 06b9236f4327525875768af5fc554c651c5ec3cf. --- contrib/devtools/README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/contrib/devtools/README.md b/contrib/devtools/README.md index b84d9112ac6..24363c8f39c 100644 --- a/contrib/devtools/README.md +++ b/contrib/devtools/README.md @@ -11,12 +11,15 @@ A tool to check for non-determinism in fuzz coverage. To get the help, run: RUST_BACKTRACE=1 cargo run --manifest-path ./contrib/devtools/deterministic-fuzz-coverage/Cargo.toml -- --help ``` -To execute the tool, compilation has to be done with the build options -`-DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++' --DBUILD_FOR_FUZZING=ON -DCMAKE_CXX_FLAGS='-fPIC -fprofile-instr-generate --fcoverage-mapping'`. Both llvm-profdata and llvm-cov must be installed. Also, -the qa-assets repository must have been cloned. Finally, a fuzz target has to -be picked before running the tool: +To execute the tool, compilation has to be done with the build options: + +``` +-DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++' -DBUILD_FOR_FUZZING=ON -DCMAKE_CXX_FLAGS='-fprofile-instr-generate -fcoverage-mapping' +``` + +Both llvm-profdata and llvm-cov must be installed. Also, the qa-assets +repository must have been cloned. Finally, a fuzz target has to be picked +before running the tool: ``` RUST_BACKTRACE=1 cargo run --manifest-path ./contrib/devtools/deterministic-fuzz-coverage/Cargo.toml -- $PWD/build_dir $PWD/qa-assets/corpora-dir fuzz_target_name