diff options
author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2021-11-29 19:43:25 -0800 |
---|---|---|
committer | Kyungwoo Lee <kyulee@fb.com> | 2021-11-29 19:46:10 -0800 |
commit | 0150645bf5ae0d55866e77d2bec5aad4e5226b7c (patch) | |
tree | b3c59f9825874a3f9f8b72830faa4020364e65ac /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | 5297cbf04532f61fe18570982f4f2a3095d08c13 (diff) | |
download | llvm-0150645bf5ae0d55866e77d2bec5aad4e5226b7c.zip llvm-0150645bf5ae0d55866e77d2bec5aad4e5226b7c.tar.gz llvm-0150645bf5ae0d55866e77d2bec5aad4e5226b7c.tar.bz2 |
[DebugInfo] Do not replace existing nodes from DICompileUnit
When creating a new DIBuilder with an existing DICompileUnit, load the
DINodes from the current DICompileUnit so they don't get overwritten.
This is done in the MachineOutliner pass, but it didn't change the CU so
the bug never appeared. We need this if we ever want to add DINodes to
the CU after it has been created, e.g., DIGlobalVariables.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D114556
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions