Skip to content

Commit

Permalink
Fix no-landing-pad ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
dingelish committed May 10, 2020
1 parent eec927f commit c970c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/run-cov
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash -e

for path in /usr/lib/llvm-3.9/lib/clang/3.9.[0-9]/lib/linux/; do LLVM_PATH=$path; done
export OPTIONS="-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Zno-landing-pads -L$LLVM_PATH -lclang_rt.profile-x86_64"
export COVERAGE_OPTIONS="-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Cpasses=insert-gcov-profiling -Zno-landing-pads -L$LLVM_PATH -lclang_rt.profile-x86_64"
export OPTIONS="-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -C panic=abort -L$LLVM_PATH -lclang_rt.profile-x86_64"
export COVERAGE_OPTIONS="-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Cpasses=insert-gcov-profiling -C panic=abort -L$LLVM_PATH -lclang_rt.profile-x86_64"
export CARGO_INCREMENTAL=0

LCOVOPT="--gcov-tool ./ci/llvm-gcov --rc lcov_branch_coverage=1 --rc lcov_excl_line=assert"
Expand Down

0 comments on commit c970c34

Please sign in to comment.