[PATCH] D70318: Recover debug intrinsics when killing duplicate or empty basic blocks

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 17 09:06:49 PST 2019


rnk added inline comments.


================
Comment at: llvm/include/llvm/IR/DebugInfoMetadata.h:3253
+/// or a fragment thereof.
+class DebugVariable {
+  using FragmentInfo = DIExpression::FragmentInfo;
----------------
This is a good idea whose time has come. :) I think in the long run, we should make this concept more explicit and first-class in our IR representation, rather than something we work out by looking at fragments.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70318





More information about the llvm-commits mailing list