[PATCH] D70121: [DebugInfo][LDV] Teach LDV how to identify source variables and handle fragments

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 09:25:04 PST 2019


aprantl added inline comments.


================
Comment at: llvm/lib/CodeGen/LiveDebugVariables.cpp:109
 
-  DbgValueLocation() : LocNo(0) {}
+  DbgValueLocation() : LocNo(0), Expression(nullptr) {}
 
----------------
`DbgValueLocation() = default;`


================
Comment at: llvm/lib/CodeGen/LiveDebugVariables.cpp:338
+/// which are live in specific intervals.
+class SourceVariable {
+  using FragmentInfo = DIExpression::FragmentInfo;
----------------
Should this use https://reviews.llvm.org/D70486?


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

https://reviews.llvm.org/D70121





More information about the llvm-commits mailing list