forked from OSchip/llvm-project
Add missing linkage from Nios2CodeGen library to Nios2AsmPrinter library. The missing dependency causes shared-lib build to fail with the following reason: lib/Target/Nios2/CMakeFiles/LLVMNios2CodeGen.dir/Nios2AsmPrinter.cpp.o: In function `(anonymous namespace)::Nios2AsmPrinter::PrintAsmMemoryOperand(llvm::MachineInstr const*, unsigned int, unsigned int, char const*, llvm::raw_ostream&)': Nios2AsmPrinter.cpp:(.text._ZN12_GLOBAL__N_115Nios2AsmPrinter21PrintAsmMemoryOperandEPKN4llvm12MachineInstrEjjPKcRNS1_11raw_ostreamE+0x2b): undefined reference to `llvm::Nios2InstPrinter::getRegisterName(unsigned int)' lib/Target/Nios2/CMakeFiles/LLVMNios2CodeGen.dir/Nios2AsmPrinter.cpp.o: In function `(anonymous namespace)::Nios2AsmPrinter::PrintAsmOperand(llvm::MachineInstr const*, unsigned int, unsigned int, char const*, llvm::raw_ostream&)': Nios2AsmPrinter.cpp:(.text._ZN12_GLOBAL__N_115Nios2AsmPrinter15PrintAsmOperandEPKN4llvm12MachineInstrEjjPKcRNS1_11raw_ostreamE+0x97): undefined reference to `llvm::Nios2InstPrinter::getRegisterName(unsigned int)' collect2: error: ld returned 1 exit status Differential Revision: https://reviews.llvm.org/D47810 llvm-svn: 347387 |
||
|---|---|---|
| .. | ||
| InstPrinter | ||
| MCTargetDesc | ||
| TargetInfo | ||
| CMakeLists.txt | ||
| LLVMBuild.txt | ||
| Nios2.h | ||
| Nios2.td | ||
| Nios2AsmPrinter.cpp | ||
| Nios2CallingConv.td | ||
| Nios2FrameLowering.cpp | ||
| Nios2FrameLowering.h | ||
| Nios2ISelDAGToDAG.cpp | ||
| Nios2ISelLowering.cpp | ||
| Nios2ISelLowering.h | ||
| Nios2InstrFormats.td | ||
| Nios2InstrInfo.cpp | ||
| Nios2InstrInfo.h | ||
| Nios2InstrInfo.td | ||
| Nios2MCInstLower.cpp | ||
| Nios2MachineFunction.cpp | ||
| Nios2MachineFunction.h | ||
| Nios2RegisterInfo.cpp | ||
| Nios2RegisterInfo.h | ||
| Nios2RegisterInfo.td | ||
| Nios2Schedule.td | ||
| Nios2Subtarget.cpp | ||
| Nios2Subtarget.h | ||
| Nios2TargetMachine.cpp | ||
| Nios2TargetMachine.h | ||
| Nios2TargetObjectFile.cpp | ||
| Nios2TargetObjectFile.h | ||
| Nios2TargetStreamer.h | ||