summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/namespace_function_definition.ll
diff options
context:
space:
mode:
authorPaul Robinson <paul_robinson@playstation.sony.com>2015-03-10 22:44:45 +0000
committerPaul Robinson <paul_robinson@playstation.sony.com>2015-03-10 22:44:45 +0000
commit857b4434df18a6ebcf26eebbb5daaace54b237a2 (patch)
tree0687c51d5a81efc75858179bf9489308198427dd /llvm/test/DebugInfo/namespace_function_definition.ll
parent1c292271448644886527879ce69354503b3233d7 (diff)
downloadbcm5719-llvm-857b4434df18a6ebcf26eebbb5daaace54b237a2.tar.gz
bcm5719-llvm-857b4434df18a6ebcf26eebbb5daaace54b237a2.zip
Emit correct linkage-name attribute based on DWARF version.
There are still 4 tests that check for DW_AT_MIPS_linkage_name, because they specify DWARF 2 or 3 in the module metadata. So, I didn't create an explicit version-based test for the attribute. Differential Revision: http://reviews.llvm.org/D8227 llvm-svn: 231880
Diffstat (limited to 'llvm/test/DebugInfo/namespace_function_definition.ll')
-rw-r--r--llvm/test/DebugInfo/namespace_function_definition.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/namespace_function_definition.ll b/llvm/test/DebugInfo/namespace_function_definition.ll
index e925e855bc2..1558636ff01 100644
--- a/llvm/test/DebugInfo/namespace_function_definition.ll
+++ b/llvm/test/DebugInfo/namespace_function_definition.ll
@@ -14,7 +14,7 @@
; CHECK-NOT: DW_TAG
; CHECK: DW_AT_low_pc
; CHECK-NOT: DW_TAG
-; CHECK: DW_AT_MIPS_linkage_name {{.*}} "_ZN2ns4funcEv"
+; CHECK: DW_AT_linkage_name {{.*}} "_ZN2ns4funcEv"
; CHECK: NULL
; CHECK: NULL
OpenPOWER on IntegriCloud