Skip to content

Commit

Permalink
[UpdateTestChecks] Add end_function directive to regex matcher for wa…
Browse files Browse the repository at this point in the history
…sm32 function body

llvm-svn: 367786
  • Loading branch information
RKSimon committed Aug 4, 2019
1 parent 6d83ab0 commit 6d2e8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/utils/UpdateTestChecks/asm.py
Expand Up @@ -130,7 +130,7 @@ class string:
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))


Expand Down

0 comments on commit 6d2e8eb

Please sign in to comment.