[PATCH] D109407: [InlineAsm] Support call function label in x86 inline asm with PIC

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 23:54:32 PDT 2021


xiangzhangllvm added inline comments.


================
Comment at: llvm/docs/LangRef.rst:5047
 - ``H``: Print a memory reference with additional offset +8.
-- ``P``: Print a memory reference or operand for use as the argument of a call
+- ``P``: Print branch target operand for use as the argument of a call
   instruction. (E.g. omit ``(rip)``, even though it's PC-relative.)
----------------
LuoYuanke wrote:
> Is it accurate? It seems only in PIC mode and in Intel dialect, we print the symbol operand.
I 


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109407/new/

https://reviews.llvm.org/D109407



More information about the llvm-commits mailing list