diff options
| author | Victor Leschuk <vleschuk@accesssoftek.com> | 2016-10-31 19:09:38 +0000 |
|---|---|---|
| committer | Victor Leschuk <vleschuk@accesssoftek.com> | 2016-10-31 19:09:38 +0000 |
| commit | e1156c2eb05f12bb1dcbdd03532ed8098d415695 (patch) | |
| tree | 99ed65395bdc93c2c4fc08732aa60e3c08ba3921 /llvm/docs | |
| parent | e5b62c83be3f35f994d1e4510dcb23c1a4133d97 (diff) | |
| download | bcm5719-llvm-e1156c2eb05f12bb1dcbdd03532ed8098d415695.tar.gz bcm5719-llvm-e1156c2eb05f12bb1dcbdd03532ed8098d415695.zip | |
DebugInfo: make DW_TAG_atomic_type valid
DW_TAG_atomic_type was already included in Dwarf.defs and emitted correctly,
however Verifier didn't recognize it as valid.
Thus we introduce the following changes:
* Make DW_TAG_atomic_type valid tag for IR and DWARF (enabled only with -gdwarf-5)
* Add it to related docs
* Add DebugInfo tests
Differential Revision: https://reviews.llvm.org/D26144
llvm-svn: 285624
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/LangRef.rst | 5 | ||||
| -rw-r--r-- | llvm/docs/SourceLevelDebugging.rst | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 9351362c89e..5bcbb224812 100644 --- a/llvm/docs/LangRef.rst +++ b/llvm/docs/LangRef.rst @@ -4078,6 +4078,7 @@ The following ``tag:`` values are valid: DW_TAG_friend = 42 DW_TAG_volatile_type = 53 DW_TAG_restrict_type = 55 + DW_TAG_atomic_type = 71 .. _DIDerivedTypeMember: @@ -4094,8 +4095,8 @@ friends. ``DW_TAG_typedef`` is used to provide a name for the ``baseType:``. ``DW_TAG_pointer_type``, ``DW_TAG_reference_type``, ``DW_TAG_const_type``, -``DW_TAG_volatile_type`` and ``DW_TAG_restrict_type`` are used to qualify the -``baseType:``. +``DW_TAG_volatile_type``, ``DW_TAG_restrict_type`` and ``DW_TAG_atomic_type`` +are used to qualify the ``baseType:``. Note that the ``void *`` type is expressed as a type derived from NULL. diff --git a/llvm/docs/SourceLevelDebugging.rst b/llvm/docs/SourceLevelDebugging.rst index 6f22f54ce4d..6bde5a54d64 100644 --- a/llvm/docs/SourceLevelDebugging.rst +++ b/llvm/docs/SourceLevelDebugging.rst @@ -1264,6 +1264,7 @@ tag is one of: * DW_TAG_packed_type * DW_TAG_volatile_type * DW_TAG_restrict_type +* DW_TAG_atomic_type * DW_TAG_interface_type * DW_TAG_unspecified_type * DW_TAG_shared_type |

