Skip to content

Commit 3e73b5b

Browse files
lhamesmemfrob
authored andcommitted
[ORC] Initialize the native asm printer and parser in Orc C-API unit test.
1 parent 8bad1b2 commit 3e73b5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ class OrcCAPITestBase : public testing::Test {
3636
public:
3737
static void SetUpTestCase() {
3838
LLVMInitializeNativeTarget();
39+
LLVMInitializeNativeTargetAsmParser();
40+
LLVMInitializeNativeTargetAsmPrinter();
3941

4042
// Attempt to set up a JIT instance once to verify that we can.
4143
LLVMOrcJITTargetMachineBuilderRef JTMB = nullptr;

0 commit comments

Comments
 (0)