diff options
author | Vedant Kumar <vsk@apple.com> | 2018-07-28 00:33:47 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2018-07-28 00:33:47 +0000 |
commit | 8a05b01d133e5833c7744350f656c1f5d5436c87 (patch) | |
tree | 5389e6699c7fc102bd4ff1e53af76338935a723e /llvm/docs/SourceLevelDebugging.rst | |
parent | 50b1d4303d0e710007bc2ebc895a378e53204400 (diff) | |
download | bcm5719-llvm-8a05b01d133e5833c7744350f656c1f5d5436c87.tar.gz bcm5719-llvm-8a05b01d133e5833c7744350f656c1f5d5436c87.zip |
[docs] Clarify role of DIExpressions within debug intrinsics
This should make the semantics of DIExpressions within llvm.dbg.{addr,
declare, value} easier to understand.
Differential Revision: https://reviews.llvm.org/D49572
llvm-svn: 338182
Diffstat (limited to 'llvm/docs/SourceLevelDebugging.rst')
-rw-r--r-- | llvm/docs/SourceLevelDebugging.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/SourceLevelDebugging.rst b/llvm/docs/SourceLevelDebugging.rst index 3fa738c7e44..7064c403ef1 100644 --- a/llvm/docs/SourceLevelDebugging.rst +++ b/llvm/docs/SourceLevelDebugging.rst @@ -244,6 +244,11 @@ argument is a `local variable <LangRef.html#dilocalvariable>`_ containing a description of the variable. The third argument is a `complex expression <LangRef.html#diexpression>`_. +An `llvm.dbg.value` intrinsic describes the *value* of a source variable +directly, not its address. Note that the value operand of this intrinsic may +be indirect (i.e, a pointer to the source variable), provided that interpreting +the complex expression derives the direct value. + Object lifetimes and scoping ============================ |