MSan segfaults under fat LTO #68367
Labels
A-linkage
Area: linking into static, shared libraries and binaries
A-sanitizers
Area: Sanitizers for correctness and code quality
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Running https://github.com/rust-lang/rust/blob/master/src/test/ui/sanitizer-memory.rs under
-C lto=fat
, the test segfaults with:I ran into this in #67759, because as of LLVM 10 the same happens with ThinLTO as well.
This issue is that
__msan
symbols gets internalized and DCEd, as they are not part of the exported symbol list.The text was updated successfully, but these errors were encountered: