aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageView.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2024-02-16 19:36:39 -0800
committerGitHub <noreply@github.com>2024-02-16 19:36:39 -0800
commit8443ce563bf3500b705ab3507ae586e2a72d31f4 (patch)
tree02048d9a17623eeff376906a3af92fe09cda3003 /llvm/tools/llvm-cov/SourceCoverageView.cpp
parentdb836f6094eafa5e60ca6395c8c195960108142a (diff)
downloadllvm-8443ce563bf3500b705ab3507ae586e2a72d31f4.zip
llvm-8443ce563bf3500b705ab3507ae586e2a72d31f4.tar.gz
llvm-8443ce563bf3500b705ab3507ae586e2a72d31f4.tar.bz2
[sanitizer] Lift AsanDoesNotSupportStaticLinkage to sanitizer_common.h. NFC (#80948)
The `_DYNAMIC` reference from `AsanDoesNotSupportStaticLinkage` ensures that `clang++ -fsanitize=address -static` gets a linker error. `MemprofDoesNotSupportStaticLinkage` is similar for `-fmemory-profile`. Move the functions to sanitizer_common.h to be used by more sanitizers on ELF platforms. Fuchsia does not use interposition and opts out the check (its `AsanDoesNotSupportStaticLinkage` is a no-op).
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageView.cpp')
0 files changed, 0 insertions, 0 deletions