[PATCH] D50887: [DWARF] Missing location debug information with -O2.

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 17 08:44:16 PDT 2018


aprantl added inline comments.


================
Comment at: lib/CodeGen/MachineInstr.cpp:2029
+void MachineInstr::collectDebugValues(
+                                SmallVectorImpl<MachineInstr *> &DbgValues) {
+  MachineInstr &MI = *this;
----------------
I understand that this is not your code, but is there a way to use the list of USEs instead of linearily scanning through all instructions? I'm not sure if MIR has that capability, so it's possible that the answer is no.


Repository:
  rL LLVM

https://reviews.llvm.org/D50887





More information about the llvm-commits mailing list