diff options
| author | Florian Mayer <fmayer@google.com> | 2022-01-31 13:10:41 -0800 |
|---|---|---|
| committer | Florian Mayer <fmayer@google.com> | 2022-02-01 12:14:20 -0800 |
| commit | aefb2e134dd715c2c48a7b826d2d56db51ce63ac (patch) | |
| tree | 0210ecd87d7fbbd0322d3c258a11c4a88f68bc04 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | aab4263ad66c99da15cb9bda6aec8269d159b113 (diff) | |
| download | llvm-aefb2e134dd715c2c48a7b826d2d56db51ce63ac.zip llvm-aefb2e134dd715c2c48a7b826d2d56db51ce63ac.tar.gz llvm-aefb2e134dd715c2c48a7b826d2d56db51ce63ac.tar.bz2 | |
[hwasan] work around lifetime issue with setjmp.
setjmp can return twice, but PostDominatorTree is unaware of this. as
such, it overestimates postdominance, leaving some cases (see attached
compiler-rt) where memory does not get untagged on return. this causes
false positives later in the program execution.
this is a crude workaround to unblock use-after-scope for now, in the
longer term PostDominatorTree should bemade aware of returns_twice
function, as this may cause problems elsewhere.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D118647
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
