HomeFreeBSD

llvm BPF target: add missed source files

Description

llvm BPF target: add missed source files

Otherwise, linking llvm binaries with this target enabled (which is not
the default) will fail with a number of undefined symbol errors:

ld: error: undefined symbol: llvm::initializeBPFAdjustOptPass(llvm::PassRegistry&)
ld: error: undefined symbol: llvm::initializeBPFCheckAndAdjustIRPass(llvm::PassRegistry&)
ld: error: undefined symbol: llvm::createBPFCheckAndAdjustIR()
ld: error: undefined symbol: llvm::createBPFAdjustOpt()
ld: error: undefined symbol: llvm::BPFAdjustOptPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)

Reported by: Michael Dexter <editor@callfortesting.org>

(cherry picked from commit d30dc78f798adebda488d2b8e21290268d2fb501)

Details

Provenance
dimAuthored on Nov 2 2021, 4:49 PM
Parents
rG8a62b07bce7b: powerpc64le: stand fixes
Branches
Unknown
Tags
Unknown