[PATCH] D155245: AArch64: don't crash when .cfi_startproc/.cfi_endproc are improperly nested

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 10 19:25:16 PDT 2023


MaskRay added a comment.

D153167 <https://reviews.llvm.org/D153167> is related. Due to Mach-O's .subsections_via_symbols mechanism, non-private labels cannot appear between .cfi_startproc/.cfi_endproc. I think `AArch64/cfi-bad-nesting.s` deserves a `getContext().reportError`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155245



More information about the llvm-commits mailing list