diff options
| author | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-03-08 00:28:57 +0000 |
|---|---|---|
| committer | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2017-03-08 00:28:57 +0000 |
| commit | f9b41cd3d8437652b2d08504b5ab3eb671df1bb7 (patch) | |
| tree | 10e95dcc0c93a22b0f1ba70b7c8364dd883baac6 /llvm/docs/LangRef.rst | |
| parent | 33562c2dcc208ce8dca7a51900a856be9cf70f0b (diff) | |
| download | bcm5719-llvm-f9b41cd3d8437652b2d08504b5ab3eb671df1bb7.tar.gz bcm5719-llvm-f9b41cd3d8437652b2d08504b5ab3eb671df1bb7.zip | |
[DebugInfo] Make legal and emit DW_OP_swap and DW_OP_xderef
Differential Revision: https://reviews.llvm.org/D29672
llvm-svn: 297247
Diffstat (limited to 'llvm/docs/LangRef.rst')
| -rw-r--r-- | llvm/docs/LangRef.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 9bf70c8afcd..cf09a89db33 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -4377,6 +4377,10 @@ The current supported vocabulary is limited: - ``DW_OP_plus, 93`` adds ``93`` to the working expression. - ``DW_OP_bit_piece, 16, 8`` specifies the offset and size (``16`` and ``8`` here, respectively) of the variable piece from the working expression. +- ``DW_OP_swap`` swaps top two stack entries. +- ``DW_OP_xderef`` provides extended dereference mechanism. The entry at the top + of the stack is treated as an address. The second stack entry is treated as an + address space identifier. .. code-block:: text @@ -4384,6 +4388,7 @@ The current supported vocabulary is limited: !1 = !DIExpression(DW_OP_plus, 3) !2 = !DIExpression(DW_OP_bit_piece, 3, 7) !3 = !DIExpression(DW_OP_deref, DW_OP_plus, 3, DW_OP_bit_piece, 3, 7) + !4 = !DIExpression(DW_OP_constu, 2, DW_OP_swap, DW_OP_xderef) DIObjCProperty """""""""""""" |

