[llvm-commits] [llvm] r98477 - /llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp

Chris Lattner sabre at nondot.org
Sat Mar 13 23:36:49 PST 2010


Author: lattner
Date: Sun Mar 14 01:36:49 2010
New Revision: 98477

URL: http://llvm.org/viewvc/llvm-project?rev=98477&view=rev
Log:
unbreak the build, grr symlinks.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp?rev=98477&r1=98476&r2=98477&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp Sun Mar 14 01:36:49 2010
@@ -15,8 +15,9 @@
 #include "llvm/CodeGen/AsmPrinter.h"
 #include "llvm/CodeGen/GCMetadataPrinter.h"
 #include "llvm/Module.h"
-#include "llvm/MC/MCStreamer.h"
 #include "llvm/MC/MCAsmInfo.h"
+#include "llvm/MC/MCSymbol.h"
+#include "llvm/MC/MCStreamer.h"
 #include "llvm/Target/TargetData.h"
 #include "llvm/Target/TargetLoweringObjectFile.h"
 #include "llvm/Target/TargetMachine.h"
@@ -138,8 +139,7 @@
         llvm_report_error(Msg.str()); // Very rude!
       }
 
-      OS << AddressDirective
-        << MAI.getPrivateGlobalPrefix() << "label" << J->Num << '\n';
+      OS << AddressDirective << J->Label->getName() << '\n';
 
       AP.EmitInt16(FrameSize);
 





More information about the llvm-commits mailing list