diff options
Diffstat (limited to 'test/asan/TestCases/speculative_load.cc')
-rw-r--r-- | test/asan/TestCases/speculative_load.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/asan/TestCases/speculative_load.cc b/test/asan/TestCases/speculative_load.cc index 2409d7a5eee34..fdf70eb39767a 100644 --- a/test/asan/TestCases/speculative_load.cc +++ b/test/asan/TestCases/speculative_load.cc @@ -27,6 +27,10 @@ struct S { __asan_poison_memory_region(_data._s._ch, 23); } + ~S() { + __asan_unpoison_memory_region(_data._s._ch, 23); + } + bool is_long() const { return _data._s._size & 1; } |