mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-11 15:08:16 +00:00
A couple more darwinisms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22450 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a28381cac2
commit
9035b99abf
@ -62,9 +62,12 @@ bool X86SharedAsmPrinter::doInitialization(Module& M) {
|
||||
if (leadingUnderscore || forCygwin || forDarwin)
|
||||
GlobalPrefix = "_";
|
||||
|
||||
if (forDarwin)
|
||||
if (forDarwin) {
|
||||
AlignmentIsInBytes = false;
|
||||
|
||||
Data64bitsDirective = 0; // we can't emit a 64-bit unit
|
||||
ZeroDirective = "\t.space\t"; // ".space N" emits N zeros.
|
||||
}
|
||||
|
||||
return AsmPrinter::doInitialization(M);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user