From: Simon Pilgrim Date: Sun, 4 Aug 2019 16:28:37 +0000 (+0000) Subject: [UpdateTestChecks] Add end_function directive to regex matcher for wasm32 function... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce925136143af1427cf0a1f1d905e659f55e4b90;p=llvm [UpdateTestChecks] Add end_function directive to regex matcher for wasm32 function body git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367786 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/UpdateTestChecks/asm.py b/utils/UpdateTestChecks/asm.py index 9c250cd9898..1eb354d8a46 100644 --- a/utils/UpdateTestChecks/asm.py +++ b/utils/UpdateTestChecks/asm.py @@ -130,7 +130,7 @@ ASM_FUNCTION_ARM_IOS_RE = re.compile( ASM_FUNCTION_WASM32_RE = re.compile( r'^_?(?P[^:]+):[ \t]*#+[ \t]*@(?P=func)\n' r'(?P.*?)\n' - r'.Lfunc_end[0-9]+:\n', + r'^\s*(\.Lfunc_end[0-9]+:\n|end_function)', flags=(re.M | re.S))