Index: utils/UpdateTestChecks/asm.py =================================================================== --- utils/UpdateTestChecks/asm.py +++ utils/UpdateTestChecks/asm.py @@ -39,7 +39,7 @@ r'^_?(?P[^:]+):[ \t]*;+[ \t]*@(?P=func)\n[^:]*?' r'(?P.*?)\n' # (body of the function) # This list is incomplete - r'.Lfunc_end[0-9]+:\n', + r'^\s*(\.Lfunc_end[0-9]+:\n|\.section)', flags=(re.M | re.S)) ASM_FUNCTION_HEXAGON_RE = re.compile(