diff --git a/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp b/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp index eaad4a20683..58e901d6064 100644 --- a/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp +++ b/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp @@ -36,6 +36,8 @@ protected: public: static void SetUpTestCase() { LLVMInitializeNativeTarget(); + LLVMInitializeNativeTargetAsmParser(); + LLVMInitializeNativeTargetAsmPrinter(); // Attempt to set up a JIT instance once to verify that we can. LLVMOrcJITTargetMachineBuilderRef JTMB = nullptr;