Displaying 2 results from an estimated 2 matches for "886f2e3a".
2011 Jul 27
0
[LLVMdev] Proposal for better assertions in LLVM
...nconvinced that this is worth it at all. This is only going to allow you to "avoid going into the debugger" in the most trivial cases.
-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110726/886f2e3a/attachment.html>
2011 Jul 27
5
[LLVMdev] Proposal for better assertions in LLVM
Here's an example of how this would be used: In the constructor for
ConstantVector, there's an assert:
assert(C->getType() == T->getElementType() &&
"Initializer for vector element doesn't match vector element
type!");
I would change this to:
ASSERT_STRM(C->getType() == T->getElementType(),
"Initializer for vector element "