[compiler-rt] 3556338 - Fix MSan test use-after-dtor.cpp under new pass manager
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Fri May 8 09:13:19 PDT 2020
Author: Arthur Eubanks
Date: 2020-05-08T09:12:41-07:00
New Revision: 355633860e6015f1b26c2d575eda9856b2f76f01
URL: https://github.com/llvm/llvm-project/commit/355633860e6015f1b26c2d575eda9856b2f76f01
DIFF: https://github.com/llvm/llvm-project/commit/355633860e6015f1b26c2d575eda9856b2f76f01.diff
LOG: Fix MSan test use-after-dtor.cpp under new pass manager
Summary: The new pass manager symbolizes the location as ~Simple instead of Simple::~Simple.
Reviewers: rnk, leonardchan, vitalybuka
Subscribers: #sanitizers
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D79594
Added:
Modified:
compiler-rt/test/msan/use-after-dtor.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/msan/use-after-dtor.cpp b/compiler-rt/test/msan/use-after-dtor.cpp
index 7566ab728d2e..38ab40973329 100644
--- a/compiler-rt/test/msan/use-after-dtor.cpp
+++ b/compiler-rt/test/msan/use-after-dtor.cpp
@@ -43,7 +43,7 @@ int main() {
// CHECK-ORIGINS: Memory was marked as uninitialized
// CHECK-ORIGINS: {{#0 0x.* in __sanitizer_dtor_callback}}
- // CHECK-ORIGINS: {{#1 0x.* in Simple::~Simple}}
+ // CHECK-ORIGINS: {{#1 0x.* in .*~Simple}}
// CHECK-UAD: SUMMARY: MemorySanitizer: use-of-uninitialized-value {{.*main}}
// CHECK-UAD-OFF-NOT: SUMMARY: MemorySanitizer: use-of-uninitialized-value
More information about the llvm-commits
mailing list