projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e96653
)
Fix the condition in this assertion, and also make it into an unreachable.
author
Adrian Prantl
<aprantl@apple.com>
Thu, 22 Jan 2015 17:52:08 +0000
(17:52 +0000)
committer
Adrian Prantl
<aprantl@apple.com>
Thu, 22 Jan 2015 17:52:08 +0000
(17:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226843
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/IR/DebugInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/IR/DebugInfo.h
b/include/llvm/IR/DebugInfo.h
index 4a80359f721490b29385abbb00e70737d47dd277..b2fc6fa95d4f6e7b03f3d029747a4df5958789cd 100644
(file)
--- a/
include/llvm/IR/DebugInfo.h
+++ b/
include/llvm/IR/DebugInfo.h
@@
-904,7
+904,7
@@
public:
case dwarf::DW_OP_plus: std::advance(I, 2); break;
case dwarf::DW_OP_deref: std::advance(I, 1); break;
default:
-
assert
("unsupported operand");
+
llvm_unreachable
("unsupported operand");
}
}
};