[Lldb-commits] [PATCH] D73534: [DebugInfo] Enable the debug entry values feature by default

Djordje Todorovic via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 12 04:14:24 PST 2020


djtodoro marked an inline comment as done.
djtodoro added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp:870
     if (MI->isCandidateForCallSiteEntry() &&
-        DAG->getTarget().Options.EnableDebugEntryValues)
+        DAG->getTarget().Options.SupportsDebugEntryValues)
       MF.addCallArgsForwardingRegs(MI, DAG->getSDCallSiteInfo(Node));
----------------
dstenb wrote:
> I'm sorry for commenting on this so late, but when now adapting this patch for our downstream target, for which we will not enable call site info by default yet, I noticed that the call site information wasn't added. I think that this should be `ShouldEmitDebugEntryValues()`.
I thought to restrict the production of the call site info here and only to allow a hand-made testing, but I think you are right, we should use the `ShouldEmitDebugEntryValues()`. I'll update the patch, thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73534





More information about the lldb-commits mailing list