Closed nyacat closed 2 years ago
Hi @nyacat
Which version of llvm were you building with ?
From your comment I understand using target_link_libraries(LLVMObfuscator LLVMSupport LLVMInterpreter)
fixed the issue for you.
Right ?
https://github.com/llvm/llvm-project
branch llvmorg-14.0.6
I think the missing dependency would be LLVMCore, not LLVMInterpreter
On 14.0.6, isUsedOutsideOfBlock
is define in llvm/lib/IR/Instruction.cpp
and part of LLVMCore
.
I guess the link with LLVMInterpreter
worked because it itself depends on LLVMCore
If possible, would you kindly test if using target_link_libraries(LLVMObfuscator LLVMSupport LLVMCore)
fixes the link for you ?
Thanks
Thanks! that was full fix for me.
Missing link library
LLVMInterpreter
in CMakeLists.txt L:41This results in the inability to compile.
e.g: Link error
Edit: change to pastebin