
These targets use `MCInst`, but don't explicitly link to the library providing it (MC), and just rely on it being pulled transitively through e.g. MCDisassembler, but that only pulls includes, and does not link to it. Case in point, when i add explicit destructor to `MCInst`, defined in `.cpp`, these targets were failing to link.
13 lines
172 B
CMake
13 lines
172 B
CMake
add_llvm_component_library(LLVMPowerPCDisassembler
|
|
PPCDisassembler.cpp
|
|
|
|
LINK_COMPONENTS
|
|
MCDisassembler
|
|
MC
|
|
PowerPCInfo
|
|
Support
|
|
|
|
ADD_TO_COMPONENT
|
|
PowerPC
|
|
)
|