commit | f45267526ead95cb8aba903f97c03e031e069bd0 | [log] [tgz] |
---|---|---|
author | Mehdi Amini <mehdi.amini@apple.com> | Thu Jan 07 20:14:30 2016 +0000 |
committer | Mehdi Amini <mehdi.amini@apple.com> | Thu Jan 07 20:14:30 2016 +0000 |
tree | cc3347b08b4148aaaa1be206e9fa0a0dea00260a | |
parent | 3acdbad84f77f69b90e2f4da07289469cff178bd [diff] |
Fix crash when printing instructions that have a metadata attached but no parent. Fix PR24852 (crash with -debug -instcombine) Patch by Than McIntosh <thanm@google.com> Summary: Add guards to the asm writer to prevent crashing when dumping an instruction that has no basic block. Differential Revision: http://reviews.llvm.org/D15798 From: Than McIntosh <thanm@google.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257094 91177308-0d34-0410-b5e6-96231b3b80d8