[PATCH] D89613: make the AsmPrinterHandler array public

Jameson Nash via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 06:28:58 PST 2020


vtjnash added a comment.

The `.cfi_startproc` directive is part of the unwind information (eh_frame), and is not debug info, so that seems like a possible bugfix even? I'd expect that observation to be consistent with the goal of this PR, though I didn't see specifically where that pass was being affected in a cursory glance back through the PR.

The line of code you specifically mentioned was only added relatively recently, in 2018 (https://reviews.llvm.org/D53885), and made that behavior a bit odd. (The change causes FastISel to emit debug information if any DWARF information is present, even if there will not be a consumer of that information with no AsmPrinter in the pipeline)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89613



More information about the llvm-commits mailing list