aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2024-07-10 18:35:05 -0700
committerGitHub <noreply@github.com>2024-07-10 18:35:05 -0700
commit80ff3acd364810ec11efd45c2ce98a1bf9ce0f73 (patch)
treec91a73f8304cd2c9ff980bb0b234125c0a75bec0 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentae9bab563ac0320ae1d619ea35a5accc173cae03 (diff)
downloadllvm-80ff3acd364810ec11efd45c2ce98a1bf9ce0f73.zip
llvm-80ff3acd364810ec11efd45c2ce98a1bf9ce0f73.tar.gz
llvm-80ff3acd364810ec11efd45c2ce98a1bf9ce0f73.tar.bz2
[nsan] Add shared runtime
so that `clang -fsanitize=numerical -shared-libsan` will use `libclang_rt.nsan.so` on Linux. Shared runtime is preferred for some platforms (Android, Apple, Fuchsia; though they are not supported yet) and helps plugin use cases (#98302). * Update `ninja nsan` to build `libclang_rt.nsan.so` * Fix `nsan.syms.extra`: `nsan_*` is unneeded. Add `__ubsan_*` so that `-fsanitize=numerical,undefined -shared-libsan` works. * Move allocation functions to `nsan_malloc_linux.cpp`. While Apple platforms aren't supported yet, this separation makes it easier to add Apple support. * Delete interceptors for very obsoleted pvalloc/valloc but retain memalign. * Replace `HandleEarlyAlloc` with `DlsymAlloc`. Pull Request: https://github.com/llvm/llvm-project/pull/98415
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions