summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-06-28 11:08:44 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-06-28 11:08:44 +0000
commit7d345eb4b145b78d1d18fe8272a13a6ca4224a4f (patch)
tree7f316190bf3f44f4becd9948919b93a1f611ea41
parent016d1d0470e3aa4ed0251fb9a71e6610533e958a (diff)
downloadbcm5719-llvm-7d345eb4b145b78d1d18fe8272a13a6ca4224a4f.tar.gz
bcm5719-llvm-7d345eb4b145b78d1d18fe8272a13a6ca4224a4f.zip
Cleanup
llvm-svn: 52861
-rw-r--r--llvm/lib/Target/X86/X86ATTAsmPrinter.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp b/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
index 69914e57c24..602fa51e3ae 100644
--- a/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
+++ b/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
@@ -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("");
OpenPOWER on IntegriCloud