[PATCH] D89485: [MachineOutliner] Do not outline debug instructions

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 02:12:14 PDT 2020


jmorse added subscribers: debug-info, jmorse.
jmorse added a comment.

(Adding debug-info),

If I understand correctly, the outliner "commons" code between different functions, yes? In that case, then as you say it's definitely correct to drop variable locations, they'll be especially broken seeing how the outlined function is given a separate DISubprogram.


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

https://reviews.llvm.org/D89485



More information about the llvm-commits mailing list