diff options
author | Manman Ren <mren@apple.com> | 2013-07-19 00:31:03 +0000 |
---|---|---|
committer | Manman Ren <mren@apple.com> | 2013-07-19 00:31:03 +0000 |
commit | cd26257c85ba52d83b3febcef5c40c5153836062 (patch) | |
tree | 5dbd1c12a02dafa666fa40681fd1ca14598929c6 /test/DebugInfo/2010-04-19-FramePtr.ll | |
parent | 4e3898056e1aaa8eaaf829cda578651667878843 (diff) | |
download | llvm-cd26257c85ba52d83b3febcef5c40c5153836062.tar.gz llvm-cd26257c85ba52d83b3febcef5c40c5153836062.tar.bz2 llvm-cd26257c85ba52d83b3febcef5c40c5153836062.tar.xz |
Debug Info: enable verifying by default and disable testing cases that fail.
1> Use DebugInfoFinder to find debug info MDNodes.
2> Add disable-debug-info-verifier to disable verifying debug info.
3> Disable verifying for testing cases that fail (will update the testing cases
later on).
4> MDNodes generated by clang can have empty filename for TAG_inheritance and
TAG_friend, so DIType::Verify is modified accordingly.
Note that DebugInfoFinder does not list all debug info MDNode.
For example, clang can generate:
metadata !{i32 786468}, which will fail to verify.
This MDNode is used by debug info but not included in DebugInfoFinder.
This MDNode is generated as a temporary node in DIBuilder::createFunction
Value *TElts[] = { GetTagConstant(VMContext, DW_TAG_base_type) };
MDNode::getTemporary(VMContext, TElts)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186634 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/2010-04-19-FramePtr.ll')
-rw-r--r-- | test/DebugInfo/2010-04-19-FramePtr.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/DebugInfo/2010-04-19-FramePtr.ll b/test/DebugInfo/2010-04-19-FramePtr.ll index 81e34d1b70..5344ed4ce7 100644 --- a/test/DebugInfo/2010-04-19-FramePtr.ll +++ b/test/DebugInfo/2010-04-19-FramePtr.ll @@ -1,6 +1,6 @@ -; RUN: llc -asm-verbose -O1 -o %t < %s +; RUN: llc -disable-debug-info-verifier -asm-verbose -O1 -o %t < %s ; RUN: grep DW_AT_APPLE_omit_frame_ptr %t -; RUN: llc -disable-fp-elim -asm-verbose -O1 -o %t < %s +; RUN: llc -disable-debug-info-verifier -disable-fp-elim -asm-verbose -O1 -o %t < %s ; RUN: grep -v DW_AT_APPLE_omit_frame_ptr %t |