[llvm] r367786 - [UpdateTestChecks] Add end_function directive to regex matcher for wasm32 function body
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 4 09:28:37 PDT 2019
Author: rksimon
Date: Sun Aug 4 09:28:37 2019
New Revision: 367786
URL: http://llvm.org/viewvc/llvm-project?rev=367786&view=rev
Log:
[UpdateTestChecks] Add end_function directive to regex matcher for wasm32 function body
Modified:
llvm/trunk/utils/UpdateTestChecks/asm.py
Modified: llvm/trunk/utils/UpdateTestChecks/asm.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/UpdateTestChecks/asm.py?rev=367786&r1=367785&r2=367786&view=diff
==============================================================================
--- llvm/trunk/utils/UpdateTestChecks/asm.py (original)
+++ llvm/trunk/utils/UpdateTestChecks/asm.py Sun Aug 4 09:28:37 2019
@@ -130,7 +130,7 @@ ASM_FUNCTION_ARM_IOS_RE = re.compile(
ASM_FUNCTION_WASM32_RE = re.compile(
r'^_?(?P<func>[^:]+):[ \t]*#+[ \t]*@(?P=func)\n'
r'(?P<body>.*?)\n'
- r'.Lfunc_end[0-9]+:\n',
+ r'^\s*(\.Lfunc_end[0-9]+:\n|end_function)',
flags=(re.M | re.S))
More information about the llvm-commits
mailing list