[PATCH] D70604: [DebugInfo at O2][Utils] Undef instead of delete dbg.values in helper func

Vedant Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 11:02:25 PST 2019


vsk accepted this revision.
vsk added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: llvm/unittests/Transforms/Utils/LocalTest.cpp:769
   SmallVector<DbgValueInst *, 1> FDbgVals;
-  findDbgValues(FDbgVals, &F);
+  findDbgValues(FDbgVals, &F_);
   EXPECT_EQ(0U, FDbgVals.size());
----------------
Ouch. Thanks for catching this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70604





More information about the llvm-commits mailing list