summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/explicit-instantiation.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-02-23 18:09:29 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-02-23 18:09:29 +0000
commit43ce3a3a4d83071eb3acfe21cba4f051d267674a (patch)
tree0613838e3de14d5422edbdb0bedc2e52bbf1030c /clang/test/CodeGenCXX/explicit-instantiation.cpp
parent967cb19146d24464d2a3691761f893e72253eb8e (diff)
downloadbcm5719-llvm-43ce3a3a4d83071eb3acfe21cba4f051d267674a.tar.gz
bcm5719-llvm-43ce3a3a4d83071eb3acfe21cba4f051d267674a.zip
Revert "Start setting dso_local for COFF."
This reverts commit r325915. It will take some time to fix the failures on a windows host. llvm-svn: 325929
Diffstat (limited to 'clang/test/CodeGenCXX/explicit-instantiation.cpp')
-rw-r--r--clang/test/CodeGenCXX/explicit-instantiation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/explicit-instantiation.cpp b/clang/test/CodeGenCXX/explicit-instantiation.cpp
index a7fba386880..ad20abde8f1 100644
--- a/clang/test/CodeGenCXX/explicit-instantiation.cpp
+++ b/clang/test/CodeGenCXX/explicit-instantiation.cpp
@@ -119,14 +119,14 @@ namespace NestedClasses {
// definition of Inner.
template struct Outer<int>;
// CHECK: define weak_odr void @_ZN13NestedClasses5OuterIiE5Inner1fEv
- // CHECK-MS: define weak_odr dso_local x86_thiscallcc void @"\01?f@Inner@?$Outer@H@NestedClasses@@QAEXXZ"
+ // CHECK-MS: define weak_odr x86_thiscallcc void @"\01?f@Inner@?$Outer@H@NestedClasses@@QAEXXZ"
// Explicit instantiation declaration of Outer causes explicit instantiation
// declaration of Inner, but not in MSVC mode.
extern template struct Outer<char>;
auto use = &Outer<char>::Inner::f;
// CHECK: {{declare|define available_externally}} void @_ZN13NestedClasses5OuterIcE5Inner1fEv
- // CHECK-MS: define linkonce_odr dso_local x86_thiscallcc void @"\01?f@Inner@?$Outer@D@NestedClasses@@QAEXXZ"
+ // CHECK-MS: define linkonce_odr x86_thiscallcc void @"\01?f@Inner@?$Outer@D@NestedClasses@@QAEXXZ"
}
// Check that we emit definitions from explicit instantiations even when they
OpenPOWER on IntegriCloud