summaryrefslogtreecommitdiffstats
path: root/llvm/test/LTO/Resolution/X86/Inputs
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-09-14 05:02:59 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-09-14 05:02:59 +0000
commitcfbd089237a6212c949b647136e4bd53c42f6e1c (patch)
tree9305e8809f40c33ef7bb6418d74802095331a729 /llvm/test/LTO/Resolution/X86/Inputs
parentdf0b8438758478204156b74195787a9e2b35c23a (diff)
downloadbcm5719-llvm-cfbd089237a6212c949b647136e4bd53c42f6e1c.tar.gz
bcm5719-llvm-cfbd089237a6212c949b647136e4bd53c42f6e1c.zip
Reland r313157, "ThinLTO: Correctly follow aliasee references when dead stripping." which was reverted in r313222.
This reland includes a fix for the LowerTypeTests pass so that it looks past aliases when determining which type identifiers are live. Differential Revision: https://reviews.llvm.org/D37842 llvm-svn: 313229
Diffstat (limited to 'llvm/test/LTO/Resolution/X86/Inputs')
-rw-r--r--llvm/test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll b/llvm/test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll
new file mode 100644
index 00000000000..16154d2c45b
--- /dev/null
+++ b/llvm/test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll
@@ -0,0 +1,4 @@
+target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
+@external = global i8 42
OpenPOWER on IntegriCloud