summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-03 21:56:01 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-02-03 21:56:01 +0000
commit974860774e022d11b96798343fa4ecf80c344bb9 (patch)
tree47b84e0f68a8b50d6bf6f3c3e2788a56ddd97010 /llvm/utils
parent4e4aa7053503a00c29fadaec82e2f399bc9da492 (diff)
downloadbcm5719-llvm-974860774e022d11b96798343fa4ecf80c344bb9.tar.gz
bcm5719-llvm-974860774e022d11b96798343fa4ecf80c344bb9.zip
AsmParser: Recognize DW_TAG_* constants
Recognize `DW_TAG_` constants in assembly, and output it by default for `GenericDebugNode`. llvm-svn: 228042
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/vim/llvm.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/utils/vim/llvm.vim b/llvm/utils/vim/llvm.vim
index b7411c3cd31..57c71331105 100644
--- a/llvm/utils/vim/llvm.vim
+++ b/llvm/utils/vim/llvm.vim
@@ -77,6 +77,7 @@ syn match llvmIdentifier /[%@][-a-zA-Z$._][-a-zA-Z$._0-9]*/
syn match llvmIdentifier /![-a-zA-Z$._][-a-zA-Z$._0-9]*\ze\s*$/
syn match llvmIdentifier /![-a-zA-Z$._][-a-zA-Z$._0-9]*\ze\s*[=!]/
syn match llvmType /!\zs\a\+\ze\s*(/
+syn match llvmConstant /\<DW_TAG_[a-z_]\+\>/
" Syntax-highlight dejagnu test commands.
syn match llvmSpecialComment /;\s*RUN:.*$/
OpenPOWER on IntegriCloud