mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
emit .subsections_via_symbols through MCStreamer instead of textually.
llvm-svn: 84509
This commit is contained in:
parent
e53fff883a
commit
bddb00eadd
@ -1291,7 +1291,7 @@ void ARMAsmPrinter::EmitEndOfAsmFile(Module &M) {
|
||||
// implementation of multiple entry points). If this doesn't occur, the
|
||||
// linker can safely perform dead code stripping. Since LLVM never
|
||||
// generates code that does this, it is always safe to set.
|
||||
O << "\t.subsections_via_symbols\n";
|
||||
OutStreamer.EmitAssemblerFlag(MCStreamer::SubsectionsViaSymbols);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1129,7 +1129,7 @@ bool PPCDarwinAsmPrinter::doFinalization(Module &M) {
|
||||
// implementation of multiple entry points). If this doesn't occur, the
|
||||
// linker can safely perform dead code stripping. Since LLVM never generates
|
||||
// code that does this, it is always safe to set.
|
||||
O << "\t.subsections_via_symbols\n";
|
||||
OutStreamer.EmitAssemblerFlag(MCStreamer::SubsectionsViaSymbols);
|
||||
|
||||
return AsmPrinter::doFinalization(M);
|
||||
}
|
||||
|
@ -870,7 +870,9 @@ void X86AsmPrinter::EmitEndOfAsmFile(Module &M) {
|
||||
// implementation of multiple entry points). If this doesn't occur, the
|
||||
// linker can safely perform dead code stripping. Since LLVM never
|
||||
// generates code that does this, it is always safe to set.
|
||||
O << "\t.subsections_via_symbols\n";
|
||||
//O << "\t.subsections_via_symbols\n";
|
||||
|
||||
OutStreamer.EmitAssemblerFlag(MCStreamer::SubsectionsViaSymbols);
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetCOFF()) {
|
||||
|
Loading…
Reference in New Issue
Block a user