[llvm-commits] [llvm] r52861 - /llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sat Jun 28 04:08:44 PDT 2008
Author: asl
Date: Sat Jun 28 06:08:44 2008
New Revision: 52861
URL: http://llvm.org/viewvc/llvm-project?rev=52861&view=rev
Log:
Cleanup
Modified:
llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp?rev=52861&r1=52860&r2=52861&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp Sat Jun 28 06:08:44 2008
@@ -982,15 +982,13 @@
}
// 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 @@
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("");
More information about the llvm-commits
mailing list