[llvm] c2a1ab3 - [docs] Fix code example: the JITLink APIs use ExecutorAddr now.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 27 14:57:50 PDT 2023
Author: Lang Hames
Date: 2023-03-27T14:57:43-07:00
New Revision: c2a1ab3c294f3fe271aa40726a6cb96b648c1149
URL: https://github.com/llvm/llvm-project/commit/c2a1ab3c294f3fe271aa40726a6cb96b648c1149
DIFF: https://github.com/llvm/llvm-project/commit/c2a1ab3c294f3fe271aa40726a6cb96b648c1149.diff
LOG: [docs] Fix code example: the JITLink APIs use ExecutorAddr now.
Added:
Modified:
llvm/docs/JITLink.rst
Removed:
################################################################################
diff --git a/llvm/docs/JITLink.rst b/llvm/docs/JITLink.rst
index 8316892ba7945..d40b48325fc75 100644
--- a/llvm/docs/JITLink.rst
+++ b/llvm/docs/JITLink.rst
@@ -623,7 +623,7 @@ implementation of powerful new features. For example:
.. code-block:: c++
StringRef FunctionName = "foo";
- std::vector<JITTargetAddress> CallSitesForFunction;
+ std::vector<ExecutorAddr> CallSitesForFunction;
auto RecordCallSites =
[&](LinkGraph &G) -> Error {
More information about the llvm-commits
mailing list