diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2022-01-07 10:22:35 -0800 |
|---|---|---|
| committer | Vitaly Buka <vitalybuka@google.com> | 2022-01-07 15:21:21 -0800 |
| commit | ee43259cbce46a5b979f06710dcfe664473f6a8d (patch) | |
| tree | 87de0f4e070eebaff672e566e3df36e1af7116da /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | ec2945d031b6648e43630e720f38cfb3cf7ff715 (diff) | |
Initialize output parameters
If the function returns true, it should
set all output paremeters, similar to Output::preflightElement, or we
have UB on code like:
```
void *SaveInfo;
if (io.preflightFlowElement(i, SaveInfo))
io.postflightFlowElement(SaveInfo);
```
It's going to be detected by msan with:
-Xclang -enable-noundef-analysis -mllvm -msan-eager-checks=1
Differential Revision: https://reviews.llvm.org/D116826
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
