Unverified Commit d9d20bd8 authored by Colin Cross's avatar Colin Cross Committed by GitHub
Browse files

Honor -fno-sanitize-link-runtime for libclang_rt.asan_static (#66414)

https://reviews.llvm.org/D122407 added a static link against
libclang_rt.asan_static whenever ASAN is linked, but ignored the
-fno-sanitize-link-runtime flag. Every other conditional in
collectSanitizerRuntimes is already checking for SanArgs.linkRuntimes(),
move it to the top of the function so that newly added conditionals
don't need to remember to check it.
parent c0d5d36d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment