parent
ed87dcd45f
commit
2e07d6370a
|
@ -246,8 +246,7 @@ namespace {
|
|||
DarwinDwarfWriter DW;
|
||||
|
||||
DarwinAsmPrinter(std::ostream &O, TargetMachine &TM)
|
||||
: PPCAsmPrinter(O, TM), DW(O, this)
|
||||
{
|
||||
: PPCAsmPrinter(O, TM), DW(O, this) {
|
||||
CommentString = ";";
|
||||
GlobalPrefix = "_";
|
||||
PrivateGlobalPrefix = "L"; // Marker for constant pool idxs
|
||||
|
@ -258,6 +257,7 @@ namespace {
|
|||
LCOMMDirective = "\t.lcomm\t";
|
||||
StaticCtorsSection = ".mod_init_func";
|
||||
StaticDtorsSection = ".mod_term_func";
|
||||
InlineAsmStart = InlineAsmEnd = ""; // Don't use #APP/#NO_APP
|
||||
}
|
||||
|
||||
virtual const char *getPassName() const {
|
||||
|
|
|
@ -60,6 +60,7 @@ bool X86SharedAsmPrinter::doInitialization(Module &M) {
|
|||
forDarwin = true;
|
||||
StaticCtorsSection = ".mod_init_func";
|
||||
StaticDtorsSection = ".mod_term_func";
|
||||
InlineAsmStart = InlineAsmEnd = ""; // Don't use #APP/#NO_APP
|
||||
break;
|
||||
case X86Subtarget::isCygwin:
|
||||
GlobalPrefix = "_";
|
||||
|
|
Loading…
Reference in New Issue