summaryrefslogtreecommitdiffstats
path: root/llvm/test/ThinLTO/X86/funcimport.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/ThinLTO/X86/funcimport.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/ThinLTO/X86/funcimport.ll')
-rw-r--r--llvm/test/ThinLTO/X86/funcimport.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/ThinLTO/X86/funcimport.ll b/llvm/test/ThinLTO/X86/funcimport.ll
index 1d853eeaa8c..1e8784d7cac 100644
--- a/llvm/test/ThinLTO/X86/funcimport.ll
+++ b/llvm/test/ThinLTO/X86/funcimport.ll
@@ -9,12 +9,12 @@
; Ensure statics are promoted/renamed correctly from this file (all but
; constant variable need promotion).
; RUN: llvm-lto -thinlto-action=promote %t.bc -thinlto-index=%t3.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=EXPORTSTATIC
-; EXPORTSTATIC-DAG: @staticvar.llvm.0 = dso_local hidden global
+; EXPORTSTATIC-DAG: @staticvar.llvm.0 = hidden global
; Eventually @staticconstvar can be exported as a copy and not promoted
-; EXPORTSTATIC-DAG: @staticconstvar.llvm.0 = dso_local hidden unnamed_addr constant
-; EXPORTSTATIC-DAG: @P.llvm.0 = dso_local hidden global void ()* null
-; EXPORTSTATIC-DAG: define dso_local hidden i32 @staticfunc.llvm.0
-; EXPORTSTATIC-DAG: define dso_local hidden void @staticfunc2.llvm.0
+; EXPORTSTATIC-DAG: @staticconstvar.llvm.0 = hidden unnamed_addr constant
+; EXPORTSTATIC-DAG: @P.llvm.0 = hidden global void ()* null
+; EXPORTSTATIC-DAG: define hidden i32 @staticfunc.llvm.0
+; EXPORTSTATIC-DAG: define hidden void @staticfunc2.llvm.0
; Ensure that weak alias to an imported function is correctly turned into
; a declaration.
OpenPOWER on IntegriCloud