mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 04:31:08 +00:00
[bpf] fix build
fix BPF backend build broken by r232699 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232795 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bea9b06e84
commit
2611a42321
@ -64,7 +64,6 @@ static MCCodeGenInfo *createBPFMCCodeGenInfo(StringRef TT, Reloc::Model RM,
|
||||
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 LLVMInitializeBPFTargetMC() {
|
||||
TargetRegistry::RegisterMCAsmBackend(TheBPFTarget, createBPFAsmBackend);
|
||||
|
||||
// Register the object streamer
|
||||
TargetRegistry::RegisterMCObjectStreamer(TheBPFTarget, createBPFMCStreamer);
|
||||
TargetRegistry::RegisterELFStreamer(TheBPFTarget, createBPFMCStreamer);
|
||||
|
||||
// Register the MCInstPrinter.
|
||||
TargetRegistry::RegisterMCInstPrinter(TheBPFTarget, createBPFMCInstPrinter);
|
||||
|
Loading…
Reference in New Issue
Block a user