mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 12:15:46 +00:00
[docs] Add some comments to the inline LLJIT example.
llvm-svn: 370950
This commit is contained in:
parent
4228245e41
commit
e4526330b3
@ -117,8 +117,10 @@ module ``M`` loaded on an ThreadSafeContext ``Ctx``:
|
||||
if (!EntrySym)
|
||||
return EntrySym.takeError();
|
||||
|
||||
// Cast the entry point address to a function pointer.
|
||||
auto *Entry = (void(*)())EntrySym.getAddress();
|
||||
|
||||
// Call into JIT'd code.
|
||||
Entry();
|
||||
|
||||
The builder clasess provide a number of configuration options that can be
|
||||
|
Loading…
Reference in New Issue
Block a user