OSDN Git Service

android: [AArch64][GlobalISel] Move GlobalISel source files to a dedicated subdir.
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 25 Jul 2020 11:57:22 +0000 (13:57 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Thu, 15 Apr 2021 11:05:13 +0000 (13:05 +0200)
commit2be4f06de188f2bfba7cfb1def17757a9b9ce02e
treeb62f5785d516e16f275f8c4f59423c6830fad4bd
parent8d14e1d2d998c8f0c80f33095d43e210a4c8c3d6
android: [AArch64][GlobalISel] Move GlobalISel source files to a dedicated subdir.

Port to Android.bp of commit
e53f5580578 ("[AArch64][GlobalISel] Move GlobalISel source files to a dedicated subdir.")

Fixes the following building errors:

FAILED: out/soong/.intermediates/external/llvm-project/llvm/libLLVM10/android_x86_64_core_shared/unstripped/libLLVM10.so
ld.lld: error: undefined symbol: llvm::AArch64CallLowering::AArch64CallLowering(llvm::AArch64TargetLowering const&)
...
ld.lld: error: undefined symbol: llvm::AArch64LegalizerInfo::AArch64LegalizerInfo(llvm::AArch64Subtarget const&)
...
ld.lld: error: undefined symbol: llvm::AArch64RegisterBankInfo::AArch64RegisterBankInfo(llvm::TargetRegisterInfo const&)
...
ld.lld: error: undefined symbol: llvm::createAArch64InstructionSelector(llvm::AArch64TargetMachine const&, llvm::AArch64Subtarget&, llvm::AArch64RegisterBankInfo&)
...
ld.lld: error: undefined symbol: llvm::initializeAArch64PreLegalizerCombinerPass(llvm::PassRegistry&)
...
ld.lld: error: undefined symbol: llvm::initializeAArch64PostLegalizerCombinerPass(llvm::PassRegistry&)
...
ld.lld: error: undefined symbol: llvm::createAArch64PreLegalizeCombiner(bool)
...
ld.lld: error: undefined symbol: llvm::createAArch64PostLegalizeCombiner(bool)
...
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)

Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
llvm/lib/Target/AArch64/Android.bp