mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
Remove the obsolete offset parameter from @llvm.dbg.value
There is no situation where this rarely-used argument cannot be substituted with a DIExpression and removing it allows us to simplify the DWARF backend. Note that this patch does not yet remove any of the newly dead code. rdar://problem/33580047 Differential Revision: https://reviews.llvm.org/D35951 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309426 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -207,14 +207,13 @@ description of the variable. The third argument is a `complex expression
|
||||
|
||||
.. code-block:: llvm
|
||||
|
||||
void @llvm.dbg.value(metadata, i64, metadata, metadata)
|
||||
void @llvm.dbg.value(metadata, metadata, metadata)
|
||||
|
||||
This intrinsic provides information when a user source variable is set to a new
|
||||
value. The first argument is the new value (wrapped as metadata). The second
|
||||
argument is the offset in the user source variable where the new value is
|
||||
written. The third argument is a `local variable
|
||||
<LangRef.html#dilocalvariable>`_ containing a description of the variable. The
|
||||
fourth argument is a `complex expression <LangRef.html#diexpression>`_.
|
||||
value. The first argument is the new value (wrapped as metadata). The third
|
||||
argument is a `local variable <LangRef.html#dilocalvariable>`_ containing a
|
||||
description of the variable. The fourth argument is a `complex expression
|
||||
<LangRef.html#diexpression>`_.
|
||||
|
||||
Object lifetimes and scoping
|
||||
============================
|
||||
|
||||
Reference in New Issue
Block a user