summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.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-internal1.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-internal1.ll')
-rw-r--r--llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll b/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll
index a36221c5f90..6d18c4f6f65 100644
--- a/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll
+++ b/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll
@@ -12,8 +12,8 @@
; BCA0: <GLOBALVAL_SUMMARY_BLOCK
; BCA1-NOT: <GLOBALVAL_SUMMARY_BLOCK
-; M0: @"g$581d7631532fa146ba4061179da39272" = external dso_local hidden global i8{{$}}
-; M1: @"g$581d7631532fa146ba4061179da39272" = dso_local hidden global i8 42, !type !0
+; M0: @"g$581d7631532fa146ba4061179da39272" = external hidden global i8{{$}}
+; M1: @"g$581d7631532fa146ba4061179da39272" = hidden global i8 42, !type !0
@g = internal global i8 42, !type !0
; M0: define i8* @f()
OpenPOWER on IntegriCloud