[PATCH] D127488: [GlobalISel][DebugInfo] Remove debug info with zero line from constants inserted at entry block

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 14 10:37:25 PDT 2022


probinson added subscribers: jmorse, probinson.
probinson added a comment.

I'd have thought AsmPrinter would deal with this, I remember adding code to look at the sequence of emitted .loc directives and handle line 0 specially.  But if this is helping, it seems reasonable.  It would be nice to experiment with actually debugging the generated code and see if the quality of the debugging experience is better/worse/unchanged.  Maybe @jmorse your team can take a quick look?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127488



More information about the llvm-commits mailing list