[PATCH] D76336: [DWARF] Emit DW_AT_call_pc for tail calls

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 18 02:08:57 PDT 2020


djtodoro added inline comments.


================
Comment at: llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1789
+  // TODO: Add support for targets with delay slots.
+  if (!NoDebug && SP->areAllCallsDescribed() && MI->isCall() &&
+      !MI->hasDelaySlot()) {
----------------
Should we use the `isCandidateForCallSiteEntry()` instead?


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

https://reviews.llvm.org/D76336





More information about the llvm-commits mailing list