projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d83ab0
)
[UpdateTestChecks] Add end_function directive to regex matcher for wasm32 function...
author
Simon Pilgrim
<llvm-dev@redking.me.uk>
Sun, 4 Aug 2019 16:28:37 +0000
(16:28 +0000)
committer
Simon Pilgrim
<llvm-dev@redking.me.uk>
Sun, 4 Aug 2019 16:28:37 +0000
(16:28 +0000)
llvm-svn: 367786
llvm/utils/UpdateTestChecks/asm.py
patch
|
blob
|
history
diff --git
a/llvm/utils/UpdateTestChecks/asm.py
b/llvm/utils/UpdateTestChecks/asm.py
index
9c250cd
..
1eb354d
100644
(file)
--- a/
llvm/utils/UpdateTestChecks/asm.py
+++ b/
llvm/utils/UpdateTestChecks/asm.py
@@
-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))