diff options
| author | Reid Kleckner <rnk@google.com> | 2016-10-13 00:55:24 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2016-10-13 00:55:24 +0000 |
| commit | 741d8a21d3244b3876e52371f866284dd1eb5a38 (patch) | |
| tree | e01fac3de81617026ca1765817464ad69115ce82 /llvm/test/CodeGen/X86/fastcall-correct-mangling.ll | |
| parent | 3aa0a2510eb8acf443fb337fc6b5bdea7590f1b0 (diff) | |
| download | bcm5719-llvm-741d8a21d3244b3876e52371f866284dd1eb5a38.tar.gz bcm5719-llvm-741d8a21d3244b3876e52371f866284dd1eb5a38.zip | |
Correct PrivateLinkage for COFF
- Use storage class C_STAT for 'PrivateLinkage' The storage class for
PrivateLinkage should equal to the Internal Linkage.
- Set 'PrivateGlobalPrefix' from "L" to ".L" for MM_WinCOFF (includes
x86_64) MM_WinCOFF has empty GlobalPrefix '\0' so PrivateGlobalPrefix
"L" may conflict to the normal symbol name starting with 'L'.
Based on a patch by Han Sangjin! Manually updated test cases.
llvm-svn: 284096
Diffstat (limited to 'llvm/test/CodeGen/X86/fastcall-correct-mangling.ll')
| -rw-r--r-- | llvm/test/CodeGen/X86/fastcall-correct-mangling.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/fastcall-correct-mangling.ll b/llvm/test/CodeGen/X86/fastcall-correct-mangling.ll index bc53fe8aa4e..00dc44e75e8 100644 --- a/llvm/test/CodeGen/X86/fastcall-correct-mangling.ll +++ b/llvm/test/CodeGen/X86/fastcall-correct-mangling.ll @@ -28,6 +28,6 @@ entry: define private x86_fastcallcc void @dontCrash() { ; The name is fairly arbitrary since it is private. Just don't crash. ; CHECK32-LABEL: {{^}}L@dontCrash@0: -; CHECK64-LABEL: {{^}}LdontCrash: +; CHECK64-LABEL: {{^}}.LdontCrash: ret void } |

