summaryrefslogtreecommitdiff
path: root/test/Linker/type-unique-simple2-a.ll
diff options
context:
space:
mode:
authorPaul Robinson <paul_robinson@playstation.sony.com>2015-08-11 21:36:45 +0000
committerPaul Robinson <paul_robinson@playstation.sony.com>2015-08-11 21:36:45 +0000
commitbbf32bd275fb1ab0a18824924437de5966f73832 (patch)
treea706beb740abd4f46dde205eb237f4e428d32b79 /test/Linker/type-unique-simple2-a.ll
parent162f046004b302fd1aa2d3c27df43ee163c4c6b6 (diff)
Make DW_AT_[MIPS_]linkage_name optional, and off by default for SCE.
Mangled "linkage" names can be huge, and if the debugger (or other tools) have no use for them, the size savings can be very impressive (on the order of 40%). Add one test for controlling behavior, and modify a number of tests to either stop using linkage names, or make llc emit them (so these tests will still run when the default triple is for PS4). Differential Revision: http://reviews.llvm.org/D11374 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/type-unique-simple2-a.ll')
-rw-r--r--test/Linker/type-unique-simple2-a.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Linker/type-unique-simple2-a.ll b/test/Linker/type-unique-simple2-a.ll
index 0297717ba21..56682c4babb 100644
--- a/test/Linker/type-unique-simple2-a.ll
+++ b/test/Linker/type-unique-simple2-a.ll
@@ -18,7 +18,8 @@
; return A().getFoo();
; }
;
-; CHECK: _ZN1A6setFooEv
+; CHECK: DW_AT_name {{.*}} "setFoo"
+; CHECK-NOT: DW_TAG
; CHECK: DW_AT_accessibility [DW_FORM_data1] (DW_ACCESS_public)
; CHECK-NOT: DW_AT_accessibility
; CHECK: DW_TAG