diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2017-07-31 15:32:39 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2017-07-31 15:32:39 +0000 |
commit | d7b1e5af0a8a7ae571eafb63403a5177fa881f62 (patch) | |
tree | dff22fa1e612431749a04762abd4051a33dd2f96 /lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py | |
parent | 160d9472f4ae7cdb9df9dec0768a97fa1c3533d0 (diff) | |
download | bcm5719-llvm-d7b1e5af0a8a7ae571eafb63403a5177fa881f62.tar.gz bcm5719-llvm-d7b1e5af0a8a7ae571eafb63403a5177fa881f62.zip |
[DebugInfo] Don't overwrite DWARFUnit fields if the CU DIE doesn't have them.
DIEs are lazily deserialized so it's possible that the DWO CU is created
before the DIE is parsed. DWO shares .debug_addr and .debug_ranges with the
object file so overwriting the offset with 0 will make the CU unusable.
No test case because I couldn't get clang to emit a non-zero range base.
llvm-svn: 309570
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions