From ce925136143af1427cf0a1f1d905e659f55e4b90 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sun, 4 Aug 2019 16:28:37 +0000 Subject: [PATCH] [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 --- utils/UpdateTestChecks/asm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.40.0