summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/index-const-prop2.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-12-05 21:42:17 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-12-05 21:42:17 +0000
commit01f1d9b5894de7529fc9b0e6aeb6f414be950cb8 (patch)
tree64034137931c0e2bdabba0e767aa33f7bef74bf6 /llvm/test/ThinLTO/X86/index-const-prop2.ll
parent85393b28f99ab23acdf4bfb12694314f9b51c911 (diff)
downloadbcm5719-llvm-01f1d9b5894de7529fc9b0e6aeb6f414be950cb8.tar.gz
bcm5719-llvm-01f1d9b5894de7529fc9b0e6aeb6f414be950cb8.zip
ThinLTO: Do not import debug info for imported global constants
It looks like this isn't necessary (in any tests I've done, it results in the global being described with no location or value in the imported side - while it's still fully described in the place it's imported from) & results in significant/pathological debug info growth to home these location-less global variable descriptions on the import side. This is a rather pressing/important issue to address - this regressed executable size for one example I'm looking at by 15%, object size is probably similar though I haven't measured it, and a 22x increase in the number of CUs in the cu_index in split DWARF DWP files, creating a similarly large regression in the time it takes llvm-symbolizer to run on such binaries. Reviewers: tejohnson, evgeny777 Differential Revision: https://reviews.llvm.org/D55309 llvm-svn: 348416
Diffstat (limited to 'llvm/test/ThinLTO/X86/index-const-prop2.ll')
-rw-r--r--llvm/test/ThinLTO/X86/index-const-prop2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/ThinLTO/X86/index-const-prop2.ll b/llvm/test/ThinLTO/X86/index-const-prop2.ll
index d6c8ec80661..96b7593dd4f 100644
--- a/llvm/test/ThinLTO/X86/index-const-prop2.ll
+++ b/llvm/test/ThinLTO/X86/index-const-prop2.ll
@@ -34,7 +34,7 @@
; IMPORT: @gFoo.llvm.0 = internal unnamed_addr global i32 1, align 4
; IMPORT-NEXT: @gBar = internal local_unnamed_addr global i32 2, align 4
-; IMPORT: !DICompileUnit({{.*}}, globals: !{{[0-9]+}})
+; IMPORT: !DICompileUnit({{.*}})
; CODEGEN: i32 @main()
; CODEGEN-NEXT: ret i32 3
OpenPOWER on IntegriCloud