diff options
author | Eric Christopher <echristo@apple.com> | 2012-09-20 22:51:57 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-09-20 22:51:57 +0000 |
commit | d57ae39a885649cf4d86e50e11fd2c453eae78d5 (patch) | |
tree | 2c5699128085cf52b22c3bda6cc7299515014556 /test/DebugInfo | |
parent | 554da1a222eaeea71636700ca2b7dd931e81ade6 (diff) |
Only emit DW_AT_object_pointer if this is a definition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164326 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/DebugInfo')
-rw-r--r-- | test/DebugInfo/X86/DW_AT_object_pointer.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/DebugInfo/X86/DW_AT_object_pointer.ll b/test/DebugInfo/X86/DW_AT_object_pointer.ll index 13889902f7..163a1e7cec 100644 --- a/test/DebugInfo/X86/DW_AT_object_pointer.ll +++ b/test/DebugInfo/X86/DW_AT_object_pointer.ll @@ -1,8 +1,8 @@ ; RUN: llc -mtriple=x86_64-apple-darwin %s -o %t -filetype=obj ; RUN: llvm-dwarfdump %t | FileCheck %s -; CHECK: DW_AT_object_pointer [DW_FORM_ref4] (cu + 0x00c3 => {0x000000c3}) -; CHECK: 0x000000c3: DW_TAG_formal_parameter [12] +; CHECK: DW_AT_object_pointer [DW_FORM_ref4] (cu + 0x00bf => {0x000000bf}) +; CHECK: 0x000000bf: DW_TAG_formal_parameter [12] ; CHECK-NEXT: DW_AT_name [DW_FORM_strp] ( .debug_str[0x00000085] = "this") %class.A = type { i32 } |