mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
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
This commit is contained in:
parent
e9b4113902
commit
355633860e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user