mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00:00
Add support for ${:private} which prints "L" on darwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30620 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ce9b67e0c
commit
bae02cfd46
@ -626,7 +626,9 @@ AsmPrinter::EmitMachineConstantPoolValue(MachineConstantPoolValue *MCPV) {
|
||||
/// syntax used is ${:comment}. Targets can override this to add support
|
||||
/// for their own strange codes.
|
||||
void AsmPrinter::PrintSpecial(const MachineInstr *MI, const char *Code) {
|
||||
if (!strcmp(Code, "comment")) {
|
||||
if (!strcmp(Code, "private")) {
|
||||
O << TAI->getPrivateGlobalPrefix();
|
||||
} else if (!strcmp(Code, "comment")) {
|
||||
O << TAI->getCommentString();
|
||||
} else if (!strcmp(Code, "uid")) {
|
||||
// Assign a unique ID to this machine instruction.
|
||||
|
Loading…
x
Reference in New Issue
Block a user