[llvm] r232795 - [bpf] fix build
Alexei Starovoitov
alexei.starovoitov at gmail.com
Thu Mar 19 19:35:30 PDT 2015
Author: ast
Date: Thu Mar 19 21:35:29 2015
New Revision: 232795
URL: http://llvm.org/viewvc/llvm-project?rev=232795&view=rev
Log:
[bpf] fix build
fix BPF backend build broken by r232699
Modified:
llvm/trunk/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
Modified: llvm/trunk/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp?rev=232795&r1=232794&r2=232795&view=diff
==============================================================================
--- llvm/trunk/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp (original)
+++ llvm/trunk/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp Thu Mar 19 21:35:29 2015
@@ -64,7 +64,6 @@ static MCCodeGenInfo *createBPFMCCodeGen
static MCStreamer *createBPFMCStreamer(const Triple &T,
MCContext &Ctx, MCAsmBackend &MAB,
raw_ostream &OS, MCCodeEmitter *Emitter,
- const MCSubtargetInfo &STI,
bool RelaxAll) {
return createELFStreamer(Ctx, MAB, OS, Emitter, RelaxAll);
}
@@ -103,7 +102,7 @@ extern "C" void LLVMInitializeBPFTargetM
TargetRegistry::RegisterMCAsmBackend(TheBPFTarget, createBPFAsmBackend);
// Register the object streamer
- TargetRegistry::RegisterMCObjectStreamer(TheBPFTarget, createBPFMCStreamer);
+ TargetRegistry::RegisterELFStreamer(TheBPFTarget, createBPFMCStreamer);
// Register the MCInstPrinter.
TargetRegistry::RegisterMCInstPrinter(TheBPFTarget, createBPFMCInstPrinter);
More information about the llvm-commits
mailing list