projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This exposes more MCJIT options via the C API:
[oota-llvm.git]
/
unittests
/
ExecutionEngine
/
MCJIT
/
MCJITCAPITest.cpp
diff --git
a/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
b/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
index 8dd5795dc554efe60f462ee25e7e9e436202e5ac..d8cf6c592d3b3e91000a6bef6ecbfa7a38b67fad 100644
(file)
--- a/
unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
+++ b/
unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp
@@
-64,7
+64,7
@@
TEST_F(MCJITCAPITest, simple_function) {
LLVMDisposeBuilder(builder);
LLVMMCJITCompilerOptions options;
-
memset(&options, 0
, sizeof(options));
+
LLVMInitializeMCJITCompilerOptions(&options
, sizeof(options));
options.OptLevel = 2;
// Just ensure that this field still exists.