mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 00:17:32 +00:00
Cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52861 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75b6882d3c
commit
36a5701ad7
@ -982,15 +982,13 @@ bool X86ATTAsmPrinter::doFinalization(Module &M) {
|
||||
}
|
||||
|
||||
// Output linker support code for dllexported globals
|
||||
if (!DLLExportedGVs.empty()) {
|
||||
if (!DLLExportedGVs.empty())
|
||||
SwitchToDataSection(".section .drectve");
|
||||
}
|
||||
|
||||
for (StringSet<>::iterator i = DLLExportedGVs.begin(),
|
||||
e = DLLExportedGVs.end();
|
||||
i != e; ++i) {
|
||||
i != e; ++i)
|
||||
O << "\t.ascii \" -export:" << i->getKeyData() << ",data\"\n";
|
||||
}
|
||||
|
||||
if (!DLLExportedFns.empty()) {
|
||||
SwitchToDataSection(".section .drectve");
|
||||
@ -998,9 +996,8 @@ bool X86ATTAsmPrinter::doFinalization(Module &M) {
|
||||
|
||||
for (StringSet<>::iterator i = DLLExportedFns.begin(),
|
||||
e = DLLExportedFns.end();
|
||||
i != e; ++i) {
|
||||
i != e; ++i)
|
||||
O << "\t.ascii \" -export:" << i->getKeyData() << "\"\n";
|
||||
}
|
||||
|
||||
if (Subtarget->isTargetDarwin()) {
|
||||
SwitchToDataSection("");
|
||||
|
Loading…
Reference in New Issue
Block a user