mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04:00
doc: Remove unused -fPIC
This is harmless, but no longer needed after commit
06b9236f43
.
This commit is contained in:
parent
fa1e0a7228
commit
faf905b9b6
1 changed files with 9 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue