diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-23 15:32:32 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-02-23 15:32:32 +0000 |
commit | 004d240b6a8f06227f0e819c15e949ffc5fbd7c2 (patch) | |
tree | 54f15eacbda38c0b41ee6f45afe09b1db1548ab7 /clang/test/CodeGenCXX/vtable-key-function-win-comdat.cpp | |
parent | 504d23551ee0b995b93f3177fa1728217abcfb53 (diff) | |
download | bcm5719-llvm-004d240b6a8f06227f0e819c15e949ffc5fbd7c2.tar.gz bcm5719-llvm-004d240b6a8f06227f0e819c15e949ffc5fbd7c2.zip |
Start setting dso_local for COFF.
With this there are still some GVs where we don't set dso_local
because setGVProperties is never called. I intend to fix that in
followup commits. This is just the bare minimum to teach
shouldAssumeDSOLocal what it should do for COFF.
llvm-svn: 325915
Diffstat (limited to 'clang/test/CodeGenCXX/vtable-key-function-win-comdat.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/vtable-key-function-win-comdat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/vtable-key-function-win-comdat.cpp b/clang/test/CodeGenCXX/vtable-key-function-win-comdat.cpp index 3dd1be7dc69..e7c5be93b80 100644 --- a/clang/test/CodeGenCXX/vtable-key-function-win-comdat.cpp +++ b/clang/test/CodeGenCXX/vtable-key-function-win-comdat.cpp @@ -20,6 +20,6 @@ inline void Test1a::foo() {} // CHECK-NOT: $_ZTS6Test1a.1 = comdat any // CHECK-NOT: $_ZTI6Test1a.1 = comdat any -// CHECK: @_ZTV6Test1a = linkonce_odr unnamed_addr constant {{.*}} ({ i8*, i8* }* @_ZTI6Test1a to i8*) -// CHECK: @_ZTS6Test1a = linkonce_odr constant -// CHECK: @_ZTI6Test1a = linkonce_odr constant {{.*}} [8 x i8]* @_ZTS6Test1a +// CHECK: @_ZTV6Test1a = linkonce_odr dso_local unnamed_addr constant {{.*}} ({ i8*, i8* }* @_ZTI6Test1a to i8*) +// CHECK: @_ZTS6Test1a = linkonce_odr dso_local constant +// CHECK: @_ZTI6Test1a = linkonce_odr dso_local constant {{.*}} [8 x i8]* @_ZTS6Test1a |