summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorVictor Leschuk <vleschuk@accesssoftek.com>2016-10-31 19:09:38 +0000
committerVictor Leschuk <vleschuk@accesssoftek.com>2016-10-31 19:09:38 +0000
commite1156c2eb05f12bb1dcbdd03532ed8098d415695 (patch)
tree99ed65395bdc93c2c4fc08732aa60e3c08ba3921 /llvm/include
parente5b62c83be3f35f994d1e4510dcb23c1a4133d97 (diff)
downloadbcm5719-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/include')
-rw-r--r--llvm/include/llvm/DebugInfo/CodeView/CodeView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/DebugInfo/CodeView/CodeView.h b/llvm/include/llvm/DebugInfo/CodeView/CodeView.h
index 4cf04e66cfe..06ea42e0869 100644
--- a/llvm/include/llvm/DebugInfo/CodeView/CodeView.h
+++ b/llvm/include/llvm/DebugInfo/CodeView/CodeView.h
@@ -276,6 +276,7 @@ enum class MethodOptions : uint16_t {
CV_DEFINE_ENUM_CLASS_FLAGS_OPERATORS(MethodOptions)
/// Equivalent to CV_modifier_t.
+/// TODO: Add flag for _Atomic modifier
enum class ModifierOptions : uint16_t {
None = 0x0000,
Const = 0x0001,
OpenPOWER on IntegriCloud