| commit | b9a88e294223b48816f2c64d769b31640d5afcc6 | [log] [tgz] |
|---|---|---|
| author | Adrian Prantl <aprantl@apple.com> | Fri Dec 05 18:19:38 2014 +0000 |
| committer | Adrian Prantl <aprantl@apple.com> | Fri Dec 05 18:19:38 2014 +0000 |
| tree | e41f67e9f1476cfe99685c143b549d75554e1ee9 | |
| parent | 36d07d153eeeec9f2f6ef8a52fccbbe70e53d728 [diff] [blame] |
Fix a bug when pretty-printing DW_OP_deref. llvm-svn: 223493
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index bf3bb8a..c6e4c87 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp
@@ -1415,6 +1415,9 @@ OS << " offset=" << Offset << ", size=" << Size; break; } + case DW_OP_deref: + // No arguments. + break; default: // Else bail out early. This may be a line table entry. OS << "Unknown]";