llvm-project/llvm/lib/Target/Nios2
Michal Gorny 71e902101d [nios2] Add missing Nios2CodeGen -> Nios2AsmPrinter linkage
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
2018-11-21 11:25:01 +00:00
..
InstPrinter
MCTargetDesc MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
TargetInfo
CMakeLists.txt Sort targetgen calls in lib/Target/*/CMakeLists. 2018-04-04 12:37:44 +00:00
LLVMBuild.txt [nios2] Add missing Nios2CodeGen -> Nios2AsmPrinter linkage 2018-11-21 11:25:01 +00:00
Nios2.h
Nios2.td
Nios2AsmPrinter.cpp
Nios2CallingConv.td
Nios2FrameLowering.cpp
Nios2FrameLowering.h
Nios2ISelDAGToDAG.cpp Rename DEBUG macro to LLVM_DEBUG. 2018-05-14 12:53:11 +00:00
Nios2ISelLowering.cpp [Nios2] Arithmetic instructions for R1 and R2 ISA. 2018-01-09 11:15:08 +00:00
Nios2ISelLowering.h
Nios2InstrFormats.td [Nios2] Arithmetic instructions for R1 and R2 ISA. 2018-01-09 11:15:08 +00:00
Nios2InstrInfo.cpp [Nios2] Arithmetic instructions for R1 and R2 ISA. 2018-01-09 11:15:08 +00:00
Nios2InstrInfo.h [Nios2] Arithmetic instructions for R1 and R2 ISA. 2018-01-09 11:15:08 +00:00
Nios2InstrInfo.td [Nios2] Arithmetic instructions for R1 and R2 ISA. 2018-01-09 11:15:08 +00:00
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 ARC, Nios2: Silence build warnings. NFCI. 2018-05-17 20:46:01 +00:00
Nios2TargetStreamer.h ARC, Nios2: Silence build warnings. NFCI. 2018-05-17 20:46:01 +00:00