diff options
| -rw-r--r-- | llvm/docs/ORCv2.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/docs/ORCv2.rst b/llvm/docs/ORCv2.rst index edb1695f4e3..6e630a7d54e 100644 --- a/llvm/docs/ORCv2.rst +++ b/llvm/docs/ORCv2.rst @@ -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 |

