projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d122d80
)
[ORC] Initialize the native asm printer and parser in Orc C-API unit test.
author
Lang Hames
<lhames@gmail.com>
Tue, 27 Apr 2021 04:10:11 +0000
(21:10 -0700)
committer
Lang Hames
<lhames@gmail.com>
Tue, 27 Apr 2021 04:10:11 +0000
(21:10 -0700)
llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
b/llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
index
eaad4a2
..
58e901d
100644
(file)
--- a/
llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp
+++ b/
llvm/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;