mirror of https://github.com/ctz/rustls
Fix coverage build
Upstream removed -Zno-landing-pads; unfortunately there's still no better coverage tooling. Fortunately -Cpanic=abort is now feasible for tests thanks to -Zpanic-abort-tests.
This commit is contained in:
parent
3d43dca1f1
commit
b2fa83cada
|
@ -5,7 +5,7 @@ import glob
|
|||
import subprocess
|
||||
|
||||
LLVM_PATH = glob.glob('/usr/lib/llvm-3.8/lib/clang/3.8.[0-9]/lib/linux/')[0]
|
||||
COVERAGE_OPTIONS = '-Ccodegen-units=1 -Clink-dead-code -Cpasses=insert-gcov-profiling -Zno-landing-pads -L%s -lclang_rt.profile-x86_64' % LLVM_PATH
|
||||
COVERAGE_OPTIONS = '-Ccodegen-units=1 -Clink-dead-code -Cpasses=insert-gcov-profiling -Cpanic=abort -Zpanic-abort-tests -L%s -lclang_rt.profile-x86_64' % LLVM_PATH
|
||||
LCOVOPTS = '--gcov-tool ./admin/llvm-gcov --rc lcov_excl_line=assert'.split()
|
||||
|
||||
def lcov_exe(*args):
|
||||
|
|
Loading…
Reference in New Issue