doc: Remove unused -fPIC

This is harmless, but no longer needed after commit
06b9236f43.
This commit is contained in:
MarcoFalke 2025-02-24 11:42:25 +01:00
parent fa1e0a7228
commit faf905b9b6
No known key found for this signature in database

View file

@ -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 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 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, -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++' -DBUILD_FOR_FUZZING=ON -DCMAKE_CXX_FLAGS='-fprofile-instr-generate -fcoverage-mapping'
the qa-assets repository must have been cloned. Finally, a fuzz target has to ```
be picked before running the tool:
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 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