diff options
author | Adrian Prantl <aprantl@apple.com> | 2017-07-28 20:21:02 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2017-07-28 20:21:02 +0000 |
commit | abe04759a6f50c6006db8b2990de47e973ad127a (patch) | |
tree | 46928903d2e66b0381635a531b82df7f5a0d0083 /llvm/docs/SourceLevelDebugging.rst | |
parent | e109655c902f6e381348c5874512b4897bedff8f (diff) | |
download | bcm5719-llvm-abe04759a6f50c6006db8b2990de47e973ad127a.tar.gz bcm5719-llvm-abe04759a6f50c6006db8b2990de47e973ad127a.zip |
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
llvm-svn: 309426
Diffstat (limited to 'llvm/docs/SourceLevelDebugging.rst')
-rw-r--r-- | llvm/docs/SourceLevelDebugging.rst | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/llvm/docs/SourceLevelDebugging.rst b/llvm/docs/SourceLevelDebugging.rst index a9f5c3a0814..ee4c5ce8bce 100644 --- a/llvm/docs/SourceLevelDebugging.rst +++ b/llvm/docs/SourceLevelDebugging.rst @@ -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 ============================ |