1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[UpdateTestChecks] Add end_function directive to regex matcher for wasm32 function body

llvm-svn: 367786
This commit is contained in:
Simon Pilgrim 2019-08-04 16:28:37 +00:00
parent 870adc88b3
commit 18a1548ed6

View File

@ -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))