【发布时间】:2018-07-22 14:40:41
【问题描述】:
我在 Windows 上为 x64 编译 LLVM 6.0.0 作为 DLL,并尝试运行 HowToUseJit 示例程序,但它出现了段错误。你是怎么解决的?
示例源代码: https://github.com/llvm-mirror/llvm/blob/release_60/examples/HowToUseJIT/HowToUseJIT.cpp
此行导致示例中的 seg 错误:
GenericValue gv = EE->runFunction(FooF, noargs);
【问题讨论】:
-
是不是和这个类似,还是有什么新东西? stackoverflow.com/questions/33600066/…