mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
19 lines
562 B
C++
19 lines
562 B
C++
|
//===-- BPFTargetInfo.cpp - BPF Target Implementation ---------------------===//
|
||
|
//
|
||
|
// The LLVM Compiler Infrastructure
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#include "BPF.h"
|
||
|
#include "llvm/Support/TargetRegistry.h"
|
||
|
using namespace llvm;
|
||
|
|
||
|
Target llvm::TheBPFTarget;
|
||
|
|
||
|
extern "C" void LLVMInitializeBPFTargetInfo() {
|
||
|
RegisterTarget<Triple::bpf> X(TheBPFTarget, "bpf", "BPF");
|
||
|
}
|