Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 95af7de

Browse files
authored
[Hexagon] Add missing MIRParser link dependency (#191010)
cd66d79 added parseMachineFunctionInfo to HexagonTargetMachine which calls parseNamedRegisterReference from LLVMMIRParser, but did not add the library dependency. This causes link failures for executables like dsymutil and llvm-split when building with BUILD_SHARED_LIBS=OFF. Add MIRParser to LINK_COMPONENTS.
1 parent e911361 commit 95af7de

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

llvm/lib/Target/Hexagon/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ add_llvm_target(HexagonCodeGen
8989
HexagonInfo
9090
IPO
9191
MC
92+
MIRParser
9293
Scalar
9394
SelectionDAG
9495
Support

0 commit comments

Comments
 (0)