[docs] Add some comments to the inline LLJIT example.

llvm-svn: 370950
This commit is contained in:
Lang Hames 2019-09-04 18:38:26 +00:00
parent 4228245e41
commit e4526330b3

View File

@ -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