diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-01-18 02:08:23 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-01-18 02:08:23 +0000 |
| commit | 9fbc040599588149d34048a81b73b9422a25f6a4 (patch) | |
| tree | 81b22f7b9eec3f941ea6f5c37f3f36d4c29d6f6f /llvm/test/Transforms/WholeProgramDevirt | |
| parent | a9346e050f301dfea9e1cf50d39a4b7180091b44 (diff) | |
| download | bcm5719-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/WholeProgramDevirt')
| -rw-r--r-- | llvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll b/llvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll index 07509b3b22f..9b7cf8432f7 100644 --- a/llvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll +++ b/llvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll @@ -81,12 +81,12 @@ define void @vf2(i8*) { ret void } -; CHECK: define dso_local hidden void @"vf3$merged"(i8*) { +; CHECK: define hidden void @"vf3$merged"(i8*) { define internal void @vf3(i8*) { ret void } -; CHECK: define dso_local hidden void @"vf4$merged"(i8*) comdat { +; CHECK: define hidden void @"vf4$merged"(i8*) comdat { define internal void @vf4(i8*) comdat { ret void } |

