OSDN Git Service

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)
commitb33954931cf7a6632f477dcdb8c83f4eb5caa829
treec91857dda9b08cca247e6e0e0d093afaa7c5a56b
parent96c7b397448508d26c731625bdd8a6dcf3bd5081
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285624 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.rst
docs/SourceLevelDebugging.rst
include/llvm/DebugInfo/CodeView/CodeView.h
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/IR/Verifier.cpp
test/DebugInfo/X86/atomic-c11-dwarf-4.ll [new file with mode: 0644]
test/DebugInfo/X86/atomic-c11-dwarf-5.ll [new file with mode: 0644]
tools/dsymutil/DwarfLinker.cpp