summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-01-18 02:08:23 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-01-18 02:08:23 +0000
commit9fbc040599588149d34048a81b73b9422a25f6a4 (patch)
tree81b22f7b9eec3f941ea6f5c37f3f36d4c29d6f6f /llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
parenta9346e050f301dfea9e1cf50d39a4b7180091b44 (diff)
downloadbcm5719-llvm-9fbc040599588149d34048a81b73b9422a25f6a4.tar.gz
bcm5719-llvm-9fbc040599588149d34048a81b73b9422a25f6a4.zip
Make GlobalValues with non-default visibilility dso_local.
This is similar to r322317, but for visibility. It is not as neat because we have to special case extern_weak. The idea is the same as the previous change, make the transition to explicit dso_local easier for the frontends. With this they only have to add dso_local to symbols where we need some external information to decide if it is dso_local (like it being part of an ELF executable). llvm-svn: 322806
Diffstat (limited to 'llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll')
-rw-r--r--llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll b/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
index 5cfa14fddb8..fbe618f08e3 100644
--- a/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
+++ b/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll
@@ -16,8 +16,8 @@
; M1: @g = global void ()* @"f$13757e0fb71915e385efa4dc9d1e08fd", !type !0
@g = global void ()* @f, !type !0
-; M0: define dso_local hidden void @"f$13757e0fb71915e385efa4dc9d1e08fd"()
-; M1: declare dso_local hidden void @"f$13757e0fb71915e385efa4dc9d1e08fd"()
+; M0: define hidden void @"f$13757e0fb71915e385efa4dc9d1e08fd"()
+; M1: declare hidden void @"f$13757e0fb71915e385efa4dc9d1e08fd"()
define internal void @f() {
call void @f2()
ret void
OpenPOWER on IntegriCloud