OSDN Git Service

android: utils/Tablegen: update sources list
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 9 Jun 2018 15:01:46 +0000 (17:01 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Tue, 24 Mar 2020 22:21:23 +0000 (23:21 +0100)
Fixes  building errors:

external/llvm/utils/TableGen/DisassemblerEmitter.cpp:133: error: undefined reference to 'llvm::emitWebAssemblyDisassemblerTables(llvm::raw_ostream&, llvm::ArrayRef<llvm::CodeGenInstruction const*> const&)'

external/llvm/utils/TableGen/InstrInfoEmitter.cpp:417: error: undefined reference to 'llvm::PredicateExpander::expandPredicate(llvm::formatted_raw_ostream&, llvm::Record const*)'
external/llvm/utils/TableGen/InstrInfoEmitter.cpp:393: error: undefined reference to 'llvm::PredicateExpander::expandPredicate(llvm::formatted_raw_ostream&, llvm::Record const*)'
external/llvm/utils/TableGen/SubtargetEmitter.cpp:1486: error: undefined reference to 'llvm::PredicateExpander::expandPredicate(llvm::formatted_raw_ostream&, llvm::Record const*)'

external/llvm/utils/TableGen/TableGen.cpp:151: error: undefined reference to 'llvm::EmitCompressInst(llvm::RecordKeeper&, llvm::raw_ostream&)'
clang.real: error: linker command failed with exit code 1 (use -v to see invocation)
[  8% 764/8646] host C++: libLLVMRuntimeDyld <= external/llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp
ninja: build stopped: subcommand failed.
14:46:19 ninja failed with: exit status 1

Reference commits:
839cd7ff05 ("[RISCV] Tablegen-driven Instruction Compression.")
04cf0d7c9c ("[WebAssembly] Initial Disassembler.")
e68d92b387 ("[RFC][Patch 1/3] Add a new class of predicates for variant scheduling classes.")

utils/TableGen/Android.mk

index 6158802..e91202c 100644 (file)
@@ -31,7 +31,9 @@ tablegen_SRC_FILES := \
   InstrInfoEmitter.cpp \
   IntrinsicEmitter.cpp \
   OptParserEmitter.cpp \
+  PredicateExpander.cpp \
   PseudoLoweringEmitter.cpp \
+  RISCVCompressInstEmitter.cpp \
   RegisterBankEmitter.cpp \
   RegisterInfoEmitter.cpp \
   SearchableTableEmitter.cpp \
@@ -45,6 +47,7 @@ tablegen_SRC_FILES := \
   X86FoldTablesEmitter.cpp \
   X86ModRMFilters.cpp \
   X86RecognizableInstr.cpp \
+  WebAssemblyDisassemblerEmitter.cpp \
   CTagsEmitter.cpp
 
 include $(CLEAR_VARS)