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/CodeGen/microsoft-call-conv-x64.c | |
| 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/CodeGen/microsoft-call-conv-x64.c')
| -rw-r--r-- | clang/test/CodeGen/microsoft-call-conv-x64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/microsoft-call-conv-x64.c b/clang/test/CodeGen/microsoft-call-conv-x64.c index 6475dfa2936..5be748f94c5 100644 --- a/clang/test/CodeGen/microsoft-call-conv-x64.c +++ b/clang/test/CodeGen/microsoft-call-conv-x64.c @@ -3,12 +3,12 @@ void __fastcall f1(void); void __stdcall f2(void); void __fastcall f4(void) { -// CHECK-LABEL: define void @f4() +// CHECK-LABEL: define dso_local void @f4() f1(); // CHECK: call void @f1() } void __stdcall f5(void) { -// CHECK-LABEL: define void @f5() +// CHECK-LABEL: define dso_local void @f5() f2(); // CHECK: call void @f2() } |

