1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00

[ORC] Initialize the native asm printer and parser in Orc C-API unit test.

This commit is contained in:
Lang Hames 2021-04-26 21:10:11 -07:00
parent 895d41ab8e
commit ed17f7dc0d

View File

@ -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;