diff options
| author | Yuanfang Chen <yuanfang.chen@sony.com> | 2021-10-26 13:58:43 -0700 |
|---|---|---|
| committer | Yuanfang Chen <yuanfang.chen@sony.com> | 2021-10-26 15:28:25 -0700 |
| commit | 7c3fa5278544d3830838148ac912cc4b927d1b5b (patch) | |
| tree | bbab8942a662425b9a580317b4701c5b03841e25 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 2887d9fd864c9302608ecd7ff58b28ad181ede9d (diff) | |
[DebugInfo] Skip ODRUniquing for mismatched tags
Otherwise, ODRUniquing would map some member method/variable MDNodes
to have enum type DIScope, resulting in invalid debug info and bad
DWARF.
- Add a Verifier check that when a 'scope:' operand is an ODR type that is not an enum.
- Makes ODRUniquing apply to only ODR types with the same tag so that the debuginfo/DWARF is well-formed.
Reviewed By: probinson, aprantl
Differential Revision: https://reviews.llvm.org/D111770
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
