Unknown pass name 'sancov'
smoelius opened this issue · comments
cargo-fuzz
has published a fix: rust-fuzz/cargo-fuzz#277
This error is caused by new LLVM pass manager, which sancov has a new name called "sancov-module". The fix should check llvm version to decide which name should be used.
@smoelius The workaround could be passing -Znew-llvm-pass-manager=no to avoid new LLVM pass manager.
If running in Cargo, it will be RUSTFLAGS="-Znew-llvm-pass-manager=no" cargo ...
@smoelius The workaround could be passing -Znew-llvm-pass-manager=no to avoid new LLVM pass manager. If running in Cargo, it will be
RUSTFLAGS="-Znew-llvm-pass-manager=no" cargo ...
@charlesxsh I'm sorry for having gotten sidetracked with #193. But your suggestion was very helpful, and I did actually make use it. Thank you very much.