diff options
author | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2019-06-26 11:19:26 +0000 |
---|---|---|
committer | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2019-06-26 11:19:26 +0000 |
commit | e821e79fce23d656885ceb860e31f74df948e0a4 (patch) | |
tree | 98be40f8258d5044357a04ad9833d1714dad6a12 /llvm/docs | |
parent | a6319e5f83718e925870e5c758e40228b4eb4b33 (diff) | |
download | bcm5719-llvm-e821e79fce23d656885ceb860e31f74df948e0a4.tar.gz bcm5719-llvm-e821e79fce23d656885ceb860e31f74df948e0a4.zip |
[IR/DIVar] Add the flag for params that have unmodified value
Introduce the debug info flag that indicates that a parameter has unchanged
value throughout a function. This info will be used to emit the expressions
with DW_OP_entry_value.
([4/13] Introduce the debug entry values.)
Co-authored-by: Ananth Sowda <asowda@cisco.com>
Co-authored-by: Nikola Prica <nikola.prica@rt-rk.com>
Co-authored-by: Ivan Baev <ibaev@cisco.com>
Differential Revision: https://reviews.llvm.org/D58034
llvm-svn: 364406
Diffstat (limited to 'llvm/docs')
-rw-r--r-- | llvm/docs/LangRef.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 75564f51664..358a55e4654 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -4764,6 +4764,18 @@ valid debug intrinsic. !4 = !DIExpression(DW_OP_constu, 2, DW_OP_swap, DW_OP_xderef) !5 = !DIExpression(DW_OP_constu, 42, DW_OP_stack_value) +DIFlags +""""""""""""""" + +These flags encode various properties of DINodes. + +The `ArgumentNotModified` flag marks a function argument whose value +is not modified throughout of a function. This flag is used to decide +whether a DW_OP_entry_value can be used in a location description +after the function prologue. The language frontend is expected to compute +this property for each DILocalVariable. The flag should be used +only in optimized code. + DIObjCProperty """""""""""""" |