aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2020-02-06 15:07:20 -0800
committerEvgenii Stepanov <eugenis@google.com>2020-02-06 15:09:58 -0800
commit7dd2810907b87fbecb2ca7c111c2ad37bf1563e9 (patch)
treea10b705ef22b80136e8ccc74a2935f66a2846338 /lldb/packages/Python/lldbsuite/test/configuration.py
parentac8a12c874cc7fb133f470549a2a31c59bb4243e (diff)
downloadllvm-7dd2810907b87fbecb2ca7c111c2ad37bf1563e9.zip
llvm-7dd2810907b87fbecb2ca7c111c2ad37bf1563e9.tar.gz
llvm-7dd2810907b87fbecb2ca7c111c2ad37bf1563e9.tar.bz2
Fix MSAN failure on Function destruction
Summary: When Function is destroyed, GlobalValue base class is destroyed, then Value destructor would call use_empty, which ultimately attempts to downcast 'this' to GlobalValue. This is UB, and is caught my MSAN as accessing uninitialized memory. Call materialized_use_empty, which doesn't call assertModuleIsMaterializedImpl(). Reviewers: eugenis Reviewed By: eugenis Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D74161 Patch by Antonio Maiorano.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions