diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-06-20 21:08:52 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-06-20 21:08:52 +0000 |
commit | 25422dcccbf4b4030c20ab3900a5a61c38f744e0 (patch) | |
tree | 89adf763984e2180b7aa87aff294673f6baeedc6 /lldb/scripts/Python/python-wrapper.swig | |
parent | 36bc095a2ea9bcdd928665f2a10bd72bff219a62 (diff) | |
download | llvm-25422dcccbf4b4030c20ab3900a5a61c38f744e0.zip llvm-25422dcccbf4b4030c20ab3900a5a61c38f744e0.tar.gz llvm-25422dcccbf4b4030c20ab3900a5a61c38f744e0.tar.bz2 |
Fix a crash in DwarfDebug::validThroughout.
The instruction it falls over on is an IMPLICT_DEF that also happens
to be the only instruction in its lexical scope. That LexicalScope has
never been created because its range is empty. This patch skips over
all meta-instructions instead of just DBG_VALUEs.
Thanks to David Blaikie for providing a testcase!
llvm-svn: 305853
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions