From c970c34d702d69d71f61fa7dccc4b2897f983fbc Mon Sep 17 00:00:00 2001 From: Yu Ding Date: Sat, 9 May 2020 22:13:31 -0700 Subject: [PATCH] Fix no-landing-pad ci error Follow issue https://github.com/rust-lang/rust/pull/70175 --- ci/run-cov | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/run-cov b/ci/run-cov index 615bf9d..39d4eb8 100755 --- a/ci/run-cov +++ b/ci/run-cov @@ -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"