[llvm] [RemoveDIs] Update syntax highlighting to include debug records (PR #93660)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 09:01:52 PDT 2024


================
@@ -36,6 +36,9 @@ syn keyword llvmStatement sle slt srem store sub switch trunc udiv ueq uge ugt
 syn keyword llvmStatement uitofp ule ult umax umin une uno unreachable unwind
 syn keyword llvmStatement urem va_arg xchg xor zext
 
+" Debug records.
+syn match llvmStatement /\v#dbg_(assign|declare|label|value)/
----------------
OCHyams wrote:

What's `\v`, and why do we need to wrap in `/`? (Not familiar with this stuff)

https://github.com/llvm/llvm-project/pull/93660


More information about the llvm-commits mailing list