DebugInfo: make DW_TAG_atomic_type valid
authorVictor Leschuk <vleschuk@accesssoftek.com>
Mon, 31 Oct 2016 19:09:38 +0000 (19:09 +0000)
committerVictor Leschuk <vleschuk@accesssoftek.com>
Mon, 31 Oct 2016 19:09:38 +0000 (19:09 +0000)
commite1156c2eb05f12bb1dcbdd03532ed8098d415695
tree99ed65395bdc93c2c4fc08732aa60e3c08ba3921
parente5b62c83be3f35f994d1e4510dcb23c1a4133d97
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
llvm/docs/LangRef.rst
llvm/docs/SourceLevelDebugging.rst
llvm/include/llvm/DebugInfo/CodeView/CodeView.h
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/IR/Verifier.cpp
llvm/test/DebugInfo/X86/atomic-c11-dwarf-4.ll [new file with mode: 0644]
llvm/test/DebugInfo/X86/atomic-c11-dwarf-5.ll [new file with mode: 0644]
llvm/tools/dsymutil/DwarfLinker.cpp