llvm.org GIT mirror llvm / 9d88176
[UpdateTestChecks] Skip over .Lfunc_begin for RISC-V This mirrors the change made for X86 in rL336987. Without this patch, update_llc_test_checks will completely skip functions with personality functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365297 91177308-0d34-0410-b5e6-96231b3b80d8 Alex Bradbury 1 year, 4 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7070 flags=(re.M | re.S))
7171
7272 ASM_FUNCTION_RISCV_RE = re.compile(
73 r'^_?(?P[^:]+):[ \t]*#+[ \t]*@(?P=func)\n[^:]*?'
73 r'^_?(?P[^:]+):[ \t]*#+[ \t]*@(?P=func)\n(?:\s*\.?Lfunc_begin[^:\n]*:\n)?[^:]*?'
7474 r'(?P^##?[ \t]+[^:]+:.*?)\s*'
7575 r'.Lfunc_end[0-9]+:\n',
7676 flags=(re.M | re.S))