[PATCH] D96646: [NFC] update LangRef for D88645

Tyker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 1 05:52:29 PST 2021


Tyker updated this revision to Diff 327088.
Tyker added a comment.

added more details about the storage of additional arguments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96646

Files:
  llvm/docs/LangRef.rst


Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -19789,7 +19789,7 @@
 
 ::
 
-      declare void @llvm.var.annotation(i8* <val>, i8* <str>, i8* <str>, i32  <int>)
+      declare void @llvm.var.annotation(i8* <val>, i8* <str>, i8* <str>, i32 <int>, i8* <args>)
 
 Overview:
 """""""""
@@ -19801,7 +19801,8 @@
 
 The first argument is a pointer to a value, the second is a pointer to a
 global string, the third is a pointer to a global string which is the
-source file name, and the last argument is the line number.
+source file name, the forth argument is the line number and the last argument
+is a pointer to a global struct containing additional arguments.
 
 Semantics:
 """"""""""
@@ -19824,11 +19825,11 @@
 
 ::
 
-      declare i8*   @llvm.ptr.annotation.p<address space>i8(i8* <val>, i8* <str>, i8* <str>, i32  <int>)
-      declare i16*  @llvm.ptr.annotation.p<address space>i16(i16* <val>, i8* <str>, i8* <str>, i32  <int>)
-      declare i32*  @llvm.ptr.annotation.p<address space>i32(i32* <val>, i8* <str>, i8* <str>, i32  <int>)
-      declare i64*  @llvm.ptr.annotation.p<address space>i64(i64* <val>, i8* <str>, i8* <str>, i32  <int>)
-      declare i256* @llvm.ptr.annotation.p<address space>i256(i256* <val>, i8* <str>, i8* <str>, i32  <int>)
+      declare i8*   @llvm.ptr.annotation.p<address space>i8(i8* <val>, i8* <str>, i8* <str>, i32  <int>, i8* <args>)
+      declare i16*  @llvm.ptr.annotation.p<address space>i16(i16* <val>, i8* <str>, i8* <str>, i32  <int>, i8* <args>)
+      declare i32*  @llvm.ptr.annotation.p<address space>i32(i32* <val>, i8* <str>, i8* <str>, i32  <int>, i8* <args>)
+      declare i64*  @llvm.ptr.annotation.p<address space>i64(i64* <val>, i8* <str>, i8* <str>, i32  <int>, i8* <args>)
+      declare i256* @llvm.ptr.annotation.p<address space>i256(i256* <val>, i8* <str>, i8* <str>, i32  <int>, i8* <args>)
 
 Overview:
 """""""""
@@ -19840,8 +19841,9 @@
 
 The first argument is a pointer to an integer value of arbitrary bitwidth
 (result of some expression), the second is a pointer to a global string, the
-third is a pointer to a global string which is the source file name, and the
-last argument is the line number. It returns the value of the first argument.
+third is a pointer to a global string which is the source file name, the forth
+is the line number and the last is a pointer to a global struct containing
+additional arguments. It returns the value of the first argument.
 
 Semantics:
 """"""""""


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96646.327088.patch
Type: text/x-patch
Size: 2574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210301/a7ea4076/attachment.bin>


More information about the llvm-commits mailing list