diff options
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/StackMaps.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/docs/StackMaps.rst b/llvm/docs/StackMaps.rst index 5bb05540dec..43c60c9e785 100644 --- a/llvm/docs/StackMaps.rst +++ b/llvm/docs/StackMaps.rst @@ -221,11 +221,12 @@ lowered according to the calling convention specified at the intrinsic's callsite. Variants of the intrinsic with non-void return type also return a value according to calling convention. -On PowerPC, note that the ``<target>`` must be the actual intended target of -the indirect call, not the function-descriptor address normally used as the -C/C++ function-pointer representation. As a result, the call target must be -local because no adjustment or restoration of the TOC pointer (in register r2) -will be performed. +On PowerPC, note that ``<target>`` must be the actual intended target of +the indirect call. Specifically, even when compiling for the ELF V1 ABI, +``<target>`` is not the function-descriptor address normally used as the C/C++ +function-pointer representation. As a result, the call target must be local +because no adjustment or restoration of the TOC pointer (in register r2) will +be performed. Requesting zero patch point arguments is valid. In this case, all variable operands are handled just like |