diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-20 06:27:06 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-20 06:27:06 +0000 |
commit | 4cf132fccd8338f9aab4bd34a2f0108a13f46d6c (patch) | |
tree | c1c3515b2c9bdc9bb0f8f3f7fdb5f171e0e99845 /test/DebugInfo/namespace.ll | |
parent | d73795f07eb0432db1fa3ee29c917a6018a44060 (diff) |
Reorder the DIFile parameter in DINameSpace
Moving the DIFile parameter to immediately proceed the tag so that it will be a
common prefix with other DIScopes (once the DIFile is replaced with the raw
file/directory pair).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo/namespace.ll')
-rw-r--r-- | test/DebugInfo/namespace.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/DebugInfo/namespace.ll b/test/DebugInfo/namespace.ll index 82167b6cfb..146fdd8a72 100644 --- a/test/DebugInfo/namespace.ll +++ b/test/DebugInfo/namespace.ll @@ -1,6 +1,7 @@ ; RUN: llc -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s ; CHECK: DW_TAG_namespace +; CHECK-NEXT: DW_AT_name{{.*}} = "A" ; CHECK-NOT: NULL ; CHECK: DW_TAG_variable ; CHECK-NEXT: DW_AT_name{{.*}}= "i" @@ -21,5 +22,5 @@ !3 = metadata !{i32 0} !4 = metadata !{metadata !5} !5 = metadata !{i32 786484, i32 0, metadata !6, metadata !"i", metadata !"i", metadata !"_ZN1A1iE", metadata !1, i32 4, metadata !7, i32 0, i32 1, i32* @_ZN1A1iE, null} ; [ DW_TAG_variable ] [i] [line 4] [def] -!6 = metadata !{i32 786489, null, metadata !"A", metadata !1, i32 3} ; [ DW_TAG_namespace ] [A] [line 3] +!6 = metadata !{i32 786489, metadata !1, null, metadata !"A", i32 3} ; [ DW_TAG_namespace ] [A] [line 3] !7 = metadata !{i32 786468, null, null, metadata !"int", i32 0, i64 32, i64 32, i64 0, i32 0, i32 5} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed] |