aboutsummaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/X86/dbg-value-inlined-parameter.ll
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2013-07-19 00:31:03 +0000
committerManman Ren <mren@apple.com>2013-07-19 00:31:03 +0000
commitcd26257c85ba52d83b3febcef5c40c5153836062 (patch)
tree5dbd1c12a02dafa666fa40681fd1ca14598929c6 /test/DebugInfo/X86/dbg-value-inlined-parameter.ll
parent4e3898056e1aaa8eaaf829cda578651667878843 (diff)
downloadexternal_llvm-cd26257c85ba52d83b3febcef5c40c5153836062.zip
external_llvm-cd26257c85ba52d83b3febcef5c40c5153836062.tar.gz
external_llvm-cd26257c85ba52d83b3febcef5c40c5153836062.tar.bz2
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/X86/dbg-value-inlined-parameter.ll')
-rw-r--r--test/DebugInfo/X86/dbg-value-inlined-parameter.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/DebugInfo/X86/dbg-value-inlined-parameter.ll b/test/DebugInfo/X86/dbg-value-inlined-parameter.ll
index 6f4d3ab..2ccb897 100644
--- a/test/DebugInfo/X86/dbg-value-inlined-parameter.ll
+++ b/test/DebugInfo/X86/dbg-value-inlined-parameter.ll
@@ -1,6 +1,6 @@
-; RUN: llc -mtriple=x86_64-apple-darwin %s -filetype=obj -o %t
+; RUN: llc -mtriple=x86_64-apple-darwin -disable-debug-info-verifier %s -filetype=obj -o %t
; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
-; RUN: llc -mtriple=x86_64-apple-darwin -regalloc=basic %s -filetype=obj -o %t
+; RUN: llc -mtriple=x86_64-apple-darwin -disable-debug-info-verifier -regalloc=basic %s -filetype=obj -o %t
; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
;CHECK: DW_TAG_inlined_subroutine