mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
made COFF target dllexport logic apply to all subtargets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103373 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
72e57f9441
commit
071de920a0
@ -580,7 +580,6 @@ void X86AsmPrinter::EmitEndOfAsmFile(Module &M) {
|
|||||||
OutStreamer.EndCOFFSymbolDef();
|
OutStreamer.EndCOFFSymbolDef();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Subtarget->isTargetCygMing()) {
|
|
||||||
// Necessary for dllexport support
|
// Necessary for dllexport support
|
||||||
std::vector<const MCSymbol*> DLLExportedFns, DLLExportedGlobals;
|
std::vector<const MCSymbol*> DLLExportedFns, DLLExportedGlobals;
|
||||||
|
|
||||||
@ -609,7 +608,6 @@ void X86AsmPrinter::EmitEndOfAsmFile(Module &M) {
|
|||||||
Twine(DLLExportedFns[i]->getName()) + "\"");
|
Twine(DLLExportedFns[i]->getName()) + "\"");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (Subtarget->isTargetELF()) {
|
if (Subtarget->isTargetELF()) {
|
||||||
const TargetLoweringObjectFileELF &TLOFELF =
|
const TargetLoweringObjectFileELF &TLOFELF =
|
||||||
|
Loading…
Reference in New Issue
Block a user