[Lldb-commits] [lldb] b8c301f - Fix the regex in the sbapi python script
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Wed May 1 13:41:47 PDT 2024
Author: Adrian Prantl
Date: 2024-05-01T13:41:32-07:00
New Revision: b8c301f6e22a6a5ebec4b8870327237eb94c5b15
URL: https://github.com/llvm/llvm-project/commit/b8c301f6e22a6a5ebec4b8870327237eb94c5b15
DIFF: https://github.com/llvm/llvm-project/commit/b8c301f6e22a6a5ebec4b8870327237eb94c5b15.diff
LOG: Fix the regex in the sbapi python script
Added:
Modified:
lldb/scripts/generate-sbapi-dwarf-enum.py
Removed:
################################################################################
diff --git a/lldb/scripts/generate-sbapi-dwarf-enum.py b/lldb/scripts/generate-sbapi-dwarf-enum.py
index 5eeb8264a768ee..464eb2afff7d6f 100755
--- a/lldb/scripts/generate-sbapi-dwarf-enum.py
+++ b/lldb/scripts/generate-sbapi-dwarf-enum.py
@@ -27,7 +27,7 @@
"""
REGEX = re.compile(
- r'^ *HANDLE_DW_LNAME *\( *(?P<value>[^,]+), (?P<comment>[^"]+), "(?P<name>.*)",.*\)'
+ r'^ *HANDLE_DW_LNAME *\( *(?P<value>[^,]+), (?P<name>.*), "(?P<comment>[^"]+)",.*\)'
)
More information about the lldb-commits
mailing list