| commit | 25422dcccbf4b4030c20ab3900a5a61c38f744e0 | [log] [tgz] |
|---|---|---|
| author | Adrian Prantl <aprantl@apple.com> | Tue Jun 20 21:08:52 2017 +0000 |
| committer | Adrian Prantl <aprantl@apple.com> | Tue Jun 20 21:08:52 2017 +0000 |
| tree | 89adf763984e2180b7aa87aff294673f6baeedc6 | |
| parent | 36bc095a2ea9bcdd928665f2a10bd72bff219a62 [diff] |
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