diff options
| author | Paul Robinson <paul_robinson@playstation.sony.com> | 2015-03-10 22:44:45 +0000 |
|---|---|---|
| committer | Paul Robinson <paul_robinson@playstation.sony.com> | 2015-03-10 22:44:45 +0000 |
| commit | 857b4434df18a6ebcf26eebbb5daaace54b237a2 (patch) | |
| tree | 0687c51d5a81efc75858179bf9489308198427dd /llvm/test/Linker | |
| parent | 1c292271448644886527879ce69354503b3233d7 (diff) | |
| download | bcm5719-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/Linker')
| -rw-r--r-- | llvm/test/Linker/type-unique-odr-a.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Linker/type-unique-odr-a.ll b/llvm/test/Linker/type-unique-odr-a.ll index 49f2e4697cf..2321c01afb9 100644 --- a/llvm/test/Linker/type-unique-odr-a.ll +++ b/llvm/test/Linker/type-unique-odr-a.ll @@ -30,15 +30,15 @@ ; CHECK-NOT: DW_TAG ; CHECK: DW_TAG_subprogram ; CHECK-NOT: DW_TAG -; CHECK: DW_AT_MIPS_linkage_name {{.*}} "_ZN1A6getFooEv" +; CHECK: DW_AT_linkage_name {{.*}} "_ZN1A6getFooEv" ; CHECK-NOT: DW_TAG ; CHECK: DW_AT_name {{.*}} "getFoo" ; CHECK: DW_TAG_subprogram ; CHECK-NOT: DW_TAG -; CHECK: DW_AT_MIPS_linkage_name {{.*}} "_Z3bazv" +; CHECK: DW_AT_linkage_name {{.*}} "_Z3bazv" ; CHECK: DW_TAG_subprogram ; CHECK-NOT: DW_TAG -; CHECK: DW_AT_MIPS_linkage_name {{.*}} "_ZL3barv" +; CHECK: DW_AT_linkage_name {{.*}} "_ZL3barv" ; getFoo and A may only appear once. ; CHECK-NOT: AT_name{{.*(getFoo)|("A")}} |

