diff options
author | Strahinja Petrovic <strahinja.petrovic@rt-rk.com> | 2017-09-21 10:04:02 +0000 |
---|---|---|
committer | Strahinja Petrovic <strahinja.petrovic@rt-rk.com> | 2017-09-21 10:04:02 +0000 |
commit | e6b7c56b2ee013be90efbdf61d4989c9b36c63cf (patch) | |
tree | cd13a98789a87605f14dbc08feae437b36699fce /lib/IR/DebugInfoMetadata.cpp | |
parent | 5713c8d1d351c6329927218a7d38aaba80f7ad13 (diff) |
Fixed reverted commit rL312318
This patch contains fix for reverted commit
rL312318 which was causing failure due to use
of unchecked dyn_cast to CIInit.
Patch by: Nikola Prica.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313870 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/DebugInfoMetadata.cpp')
-rw-r--r-- | lib/IR/DebugInfoMetadata.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/IR/DebugInfoMetadata.cpp b/lib/IR/DebugInfoMetadata.cpp index 1ef43e60b54..645bba1652d 100644 --- a/lib/IR/DebugInfoMetadata.cpp +++ b/lib/IR/DebugInfoMetadata.cpp @@ -644,6 +644,7 @@ bool DIExpression::isValid() const { case dwarf::DW_OP_plus_uconst: case dwarf::DW_OP_plus: case dwarf::DW_OP_minus: + case dwarf::DW_OP_mul: case dwarf::DW_OP_deref: case dwarf::DW_OP_xderef: break; |