llvm.org GIT mirror llvm / 78733c0
[UpdateTestChecks] Allow Lbegin_func without a leading period On mingw/i686, local labels don't start with a leading period. Also escape the leading period, as it previously could match any char. Differential Revision: https://reviews.llvm.org/D61254 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359497 91177308-0d34-0410-b5e6-96231b3b80d8 Martin Storsjo 1 year, 7 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1313 ##### Assembly parser
1414
1515 ASM_FUNCTION_X86_RE = re.compile(
16 r'^_?(?P[^:]+):[ \t]*#+[ \t]*@(?P=func)\n(?:\s*.Lfunc_begin[^:\n]*:\n)?[^:]*?'
16 r'^_?(?P[^:]+):[ \t]*#+[ \t]*@(?P=func)\n(?:\s*\.?Lfunc_begin[^:\n]*:\n)?[^:]*?'
1717 r'(?P^##?[ \t]+[^:]+:.*?)\s*'
1818 r'^\s*(?:[^:\n]+?:\s*\n\s*\.size|\.cfi_endproc|\.globl|\.comm|\.(?:sub)?section|#+ -- End function)',
1919 flags=(re.M | re.S))