diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-11-01 00:25:45 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-11-01 00:25:45 +0000 |
commit | 9b93392185d3838cc438629981d7c3fee634176d (patch) | |
tree | 9b53c1e1f4e3cd03674fb8601bc11ba7a5cab40c /test/DebugInfo | |
parent | 6f45b1f0d689d2cafd3a64be9b548bb8bb0927b0 (diff) | |
download | external_llvm-9b93392185d3838cc438629981d7c3fee634176d.zip external_llvm-9b93392185d3838cc438629981d7c3fee634176d.tar.gz external_llvm-9b93392185d3838cc438629981d7c3fee634176d.tar.bz2 |
DebugInfo: Emit member variable locations as data instead of expressions in blocks
Drive by space optimization. Also makes the DIEs more regular which
might speed up DWARF parsing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r-- | test/DebugInfo/X86/concrete_out_of_line.ll | 6 | ||||
-rw-r--r-- | test/DebugInfo/X86/gnu-public-names.ll | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/DebugInfo/X86/concrete_out_of_line.ll b/test/DebugInfo/X86/concrete_out_of_line.ll index e3a2589..395d5a9 100644 --- a/test/DebugInfo/X86/concrete_out_of_line.ll +++ b/test/DebugInfo/X86/concrete_out_of_line.ll @@ -7,15 +7,15 @@ ; first check that we have a TAG_subprogram at a given offset and it has ; AT_inline. -; CHECK: 0x0000011e: DW_TAG_subprogram [17] +; CHECK: 0x0000011c: DW_TAG_subprogram [17] ; CHECK-NEXT: DW_AT_specification ; CHECK-NEXT: DW_AT_inline ; and then that a TAG_subprogram refers to it with AT_abstract_origin. -; CHECK: 0x0000015f: DW_TAG_subprogram [19] -; CHECK-NEXT: DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x011e => {0x0000011e}) +; CHECK: 0x0000015d: DW_TAG_subprogram [19] +; CHECK-NEXT: DW_AT_abstract_origin [DW_FORM_ref4] (cu + 0x011c => {0x0000011c}) define i32 @_ZN17nsAutoRefCnt7ReleaseEv() { entry: diff --git a/test/DebugInfo/X86/gnu-public-names.ll b/test/DebugInfo/X86/gnu-public-names.ll index 34f42a0..2a6d997 100644 --- a/test/DebugInfo/X86/gnu-public-names.ll +++ b/test/DebugInfo/X86/gnu-public-names.ll @@ -107,7 +107,7 @@ ; CHECK-NEXT: Length: 231 ; CHECK-NEXT: Version: 2 ; CHECK-NEXT: Offset in .debug_info: 0 -; CHECK-NEXT: Size: 381 +; CHECK-NEXT: Size: 379 ; CHECK-NEXT: Offset Linkage Kind Name ; CHECK-DAG: [[GLOBAL_FUNC]] EXTERNAL FUNCTION "global_function" ; CHECK-DAG: [[NS]] EXTERNAL TYPE "ns" |