[PATCH] D35079: [COFF, AArch64] Set the private label prefix to .L
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 12:32:40 PDT 2017
mstorsjo created this revision.
Herald added subscribers: kristof.beyls, javed.absar, rengolin, aemerson.
This fixes calls to external functions starting with a capital L, fixing errors like this:
fatal error: error in backend: assembler label 'LocalFree' can not be undefined
https://reviews.llvm.org/D35079
Files:
lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
Index: lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
===================================================================
--- lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
+++ lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp
@@ -103,4 +103,6 @@
AArch64MCAsmInfoCOFF::AArch64MCAsmInfoCOFF() {
CommentString = ";";
+ PrivateGlobalPrefix = ".L";
+ PrivateLabelPrefix = ".L";
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35079.105508.patch
Type: text/x-patch
Size: 400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170706/750608e7/attachment.bin>
More information about the llvm-commits
mailing list