diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-14 07:36:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-14 07:36:49 +0000 |
commit | 9a38e67590fa1431bd7e950f4ce2684d9f572176 (patch) | |
tree | ddd8876bb7a5e7ca4026bd26fd8d2fd1c8e1200d | |
parent | 9e2dab7dbe518bbeb7e93d0f3459e3f1c5f61964 (diff) | |
download | external_llvm-9a38e67590fa1431bd7e950f4ce2684d9f572176.zip external_llvm-9a38e67590fa1431bd7e950f4ce2684d9f572176.tar.gz external_llvm-9a38e67590fa1431bd7e950f4ce2684d9f572176.tar.bz2 |
unbreak the build, grr symlinks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98477 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp b/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp index 3531ed6..fa840e1 100644 --- a/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp @@ -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 @@ void OcamlGCMetadataPrinter::finishAssembly(raw_ostream &OS, AsmPrinter &AP, llvm_report_error(Msg.str()); // Very rude! } - OS << AddressDirective - << MAI.getPrivateGlobalPrefix() << "label" << J->Num << '\n'; + OS << AddressDirective << J->Label->getName() << '\n'; AP.EmitInt16(FrameSize); |