On running the HowToUseJIT example, after constructing the LLVM module it didn't get JIT compilation instead print the following error message:- Running foo: LLVM ERROR: Target does not support MC emission!
[1] 20154 abort (core dumped) HowToUseJIT.
So this patch fixes the issue and results as expected print 11.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
@lhames Please review the revision and if it looks fine, commit on my behalf as I don't have commit access.