diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-04-30 22:58:19 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-04-30 22:58:19 +0000 |
commit | 899ae61feed7e1025eff022ad908d4152a9b5fe0 (patch) | |
tree | 6e896f52f893db3a1a1461f8cc62ca17029236a2 /llvm/test/DebugInfo/X86/inline-member-function.ll | |
parent | 3c10817b927ad9aa1e48bc85f29e47bfc4736b0e (diff) | |
download | bcm5719-llvm-899ae61feed7e1025eff022ad908d4152a9b5fe0.tar.gz bcm5719-llvm-899ae61feed7e1025eff022ad908d4152a9b5fe0.zip |
Revert "Emit DW_AT_object_pointer once, on the declaration, for each function."
Breaks GDB buildbot
(http://lab.llvm.org:8011/builders/clang-x86_64-ubuntu-gdb-75/builds/14517)
GCC emits DW_AT_object_pointer /everywhere/ (declaration, abstract
definition, inlined subroutine), but it looks like GCC relies on it
being somewhere other than the declaration, at least. I'll experiment
further & can hopefully still remove it from the inlined_subroutine.
This reverts commit r207705.
llvm-svn: 207719
Diffstat (limited to 'llvm/test/DebugInfo/X86/inline-member-function.ll')
-rw-r--r-- | llvm/test/DebugInfo/X86/inline-member-function.ll | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/llvm/test/DebugInfo/X86/inline-member-function.ll b/llvm/test/DebugInfo/X86/inline-member-function.ll index a3fcb99c5ce..4a4a19c1913 100644 --- a/llvm/test/DebugInfo/X86/inline-member-function.ll +++ b/llvm/test/DebugInfo/X86/inline-member-function.ll @@ -22,20 +22,11 @@ ; CHECK-NOT: DW_AT_artificial ; CHECK: DW_TAG -; But make sure we emit DW_AT_object_pointer on the declaration. -; CHECK: DW_TAG_structure_type -; CHECK-NEXT: DW_AT_name {{.*}} "foo" -; CHECK-NOT: NULL -; CHECK: [[DECLARATION:0x[0-9a-e]*]]: DW_TAG_subprogram -; CHECK-NOT: DW_TAG -; CHECK: DW_AT_object_pointer - -; But don't put it on the abstract definition, either. +; But make sure we emit DW_AT_object_pointer on the abstract definition. ; CHECK: [[ABSTRACT_ORIGIN]]: DW_TAG_subprogram -; CHECK-NEXT: DW_AT_specification {{.*}}{[[DECLARATION]]} ; CHECK-NOT: NULL -; CHECK-NOT: DW_AT_object_pointer -; CHECK: DW_TAG_formal_parameter +; CHECK-NOT: TAG +; CHECK: DW_AT_object_pointer %struct.foo = type { i8 } |