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

Iain Sandoe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 00:45:34 PDT 2023


iains added a comment.

on the subject of is there any way to diagnose:

- if we encounter either a linker-visible or global symbol after a cfi_startproc but before the next cfi_endproc [in the same section], that would seem to indicate bad nesting?
- I suppose that there could be some weird code-gen that multiplexed the output between sections, so seeing a section switch before the closing cfi_endproc  is not sufficient


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