OSDN Git Service

android: [IRSim] Adding IR Instruction Mapper
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 30 Jan 2021 18:11:49 +0000 (19:11 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Thu, 15 Apr 2021 11:05:17 +0000 (13:05 +0200)
commitad6afcde5f2b0d116eb83b8d2a3392ba5b51e724
treeffbc49d97f621fd9c7559dc3bf4abbcb5626c25b
parented39e978c83051ec73443750aae7b68a978dd666
android: [IRSim] Adding IR Instruction Mapper

Porting of commit
7e4c6fb85466 ("[IRSim] Adding IR Instruction Mapper")

Fixes the following building errors:

ld.lld: error: undefined symbol: llvm::IRSimilarityIdentifierWrapperPass::ID
>>> referenced by STLExtras.h:184 (external/llvm-project/llvm/include/llvm/ADT/STLExtras.h:184)
>>>               IROutliner.o:(llvm::IRSimilarity::IRSimilarityIdentifier& llvm::function_ref<llvm::IRSimilarity::IRSimilarityIdentifier& (llvm::Module&)>::callback_fn<IROutlinerLegacyPass::runOnModule(llvm::Module&)::$_7>(int, llvm::Module&)) in archive out/soong/.intermediates/external/llvm-project/llvm/lib/Transforms/IPO/libLLVM12ipo/android_x86_x86_64_core_static/libLLVM12ipo.a

ld.lld: error: undefined symbol: llvm::IRSimilarityAnalysis::Key
>>> referenced by PassManager.h:789 (external/llvm-project/llvm/include/llvm/IR/PassManager.h:789)
>>>               IROutliner.o:(std::__1::__function::__func<llvm::IROutlinerPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)::$_10, std::__1::allocator<llvm::IROutlinerPass::run(llvm::Module&, llvm::AnalysisManager<llvm::Module>&)::$_10>, llvm::IRSimilarity::IRSimilarityIdentifier& (llvm::Module&)>::operator()(llvm::Module&)) in archive out/soong/.intermediates/external/llvm-project/llvm/lib/Transforms/IPO/libLLVM12ipo/android_x86_x86_64_core_static/libLLVM12ipo.a
llvm/lib/Analysis/Android.bp