llvm.org GIT mirror llvm / fba895e
[utils] improve AArch64 asm parser If we don't mark the cfi line as optional, the script won't work with 'nounwind' code. Without that attr, there may be extra noise in the asm body that we don't want to see. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330453 91177308-0d34-0410-b5e6-96231b3b80d8 Sanjay Patel 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2828 ASM_FUNCTION_AARCH64_RE = re.compile(
2929 r'^_?(?P[^:]+):[ \t]*\/\/[ \t]*@(?P=func)\n'
30 r'[ \t]+.cfi_startproc\n'
30 r'(?:[ \t]+.cfi_startproc\n)?' # drop optional cfi noise
3131 r'(?P.*?)\n'
3232 # This list is incomplete
3333 r'.Lfunc_end[0-9]+:\n',