summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/namespace_function_definition.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
commit78046b49a9397db7899a7879e0a88d26f0199025 (patch)
tree2e38da1bae46828d95b66b19c344dae5c403bb11 /llvm/test/DebugInfo/namespace_function_definition.ll
parent45be450070170249ac44043e705d4587a9c53205 (diff)
downloadbcm5719-llvm-78046b49a9397db7899a7879e0a88d26f0199025.tar.gz
bcm5719-llvm-78046b49a9397db7899a7879e0a88d26f0199025.zip
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 llvm-svn: 244678
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 5f87cfc90c2..6983a687aba 100644
--- a/llvm/test/DebugInfo/namespace_function_definition.ll
+++ b/llvm/test/DebugInfo/namespace_function_definition.ll
@@ -1,6 +1,6 @@
; REQUIRES: object-emission
-; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-dump=info - | FileCheck %s
+; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=Enable < %s | llvm-dwarfdump -debug-dump=info - | FileCheck %s
; Generated from clang with the following source:
; namespace ns {
OpenPOWER on IntegriCloud