AsmParser: Recognize DW_TAG_* constants
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 3 Feb 2015 21:56:01 +0000 (21:56 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 3 Feb 2015 21:56:01 +0000 (21:56 +0000)
commit1602e5874548954eefe29af19b4ab6347f2f9d9a
treeb107c2ea0539b36ab1ef48724aea1ec925ecfb8e
parent6adbfa381528b1042c7f86b0aa59308485509560
AsmParser: Recognize DW_TAG_* constants

Recognize `DW_TAG_` constants in assembly, and output it by default for
`GenericDebugNode`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228042 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/LLLexer.cpp
lib/AsmParser/LLParser.cpp
lib/AsmParser/LLParser.h
lib/AsmParser/LLToken.h
lib/IR/AsmWriter.cpp
test/Assembler/generic-debug-node.ll
test/Assembler/invalid-generic-debug-node-tag-bad.ll [new file with mode: 0644]
test/Assembler/invalid-generic-debug-node-tag-wrong-type.ll [new file with mode: 0644]
utils/vim/llvm.vim