[PATCH] D61254: [UpdateTestChecks] Allow Lbegin_func without a leading period

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 13:28:58 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL359497: [UpdateTestChecks] Allow Lbegin_func without a leading period (authored by mstorsjo, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D61254?vs=197063&id=197176#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61254/new/

https://reviews.llvm.org/D61254

Files:
  llvm/trunk/utils/UpdateTestChecks/asm.py


Index: llvm/trunk/utils/UpdateTestChecks/asm.py
===================================================================
--- llvm/trunk/utils/UpdateTestChecks/asm.py
+++ llvm/trunk/utils/UpdateTestChecks/asm.py
@@ -14,7 +14,7 @@
 ##### Assembly parser
 
 ASM_FUNCTION_X86_RE = re.compile(
-    r'^_?(?P<func>[^:]+):[ \t]*#+[ \t]*@(?P=func)\n(?:\s*.Lfunc_begin[^:\n]*:\n)?[^:]*?'
+    r'^_?(?P<func>[^:]+):[ \t]*#+[ \t]*@(?P=func)\n(?:\s*\.?Lfunc_begin[^:\n]*:\n)?[^:]*?'
     r'(?P<body>^##?[ \t]+[^:]+:.*?)\s*'
     r'^\s*(?:[^:\n]+?:\s*\n\s*\.size|\.cfi_endproc|\.globl|\.comm|\.(?:sub)?section|#+ -- End function)',
     flags=(re.M | re.S))


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61254.197176.patch
Type: text/x-patch
Size: 640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190429/11169a34/attachment.bin>


More information about the llvm-commits mailing list