[all-commits] [llvm/llvm-project] a6d238: [AArch64] Fallback to DWARF when trying to emit co...

Momchil Velikov via All-commits all-commits at lists.llvm.org
Wed Mar 23 08:34:15 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6d238536d95e5c9c49ef2acf1916c95ab087240
      https://github.com/llvm/llvm-project/commit/a6d238536d95e5c9c49ef2acf1916c95ab087240
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
    M llvm/test/MC/AArch64/arm64-compact-unwind-fallback.s

  Log Message:
  -----------
  [AArch64] Fallback to DWARF when trying to emit compact unwind info with multiple CFA offset adjustments

Instead of asserting, fallback to emitting DWARF unwind info when an
attempt is made to output compact unwind info for a function with
multiple adjustments to the CFA offset.

Multiple adjustments of SP are common and with instruction precise
unwind tables these may translate into multiple `.cfi_def_cfa_offset`
directives.

Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=1302998

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D121017




More information about the All-commits mailing list