[PATCH] D140902: [DebugInfo] Treat empty metadata operands the same as undef operands
Orlando Cazalet-Hyams via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 00:26:47 PST 2023
Orlando added inline comments.
================
Comment at: llvm/unittests/IR/DebugInfoTest.cpp:228-229
+ Function &F = *cast<Function>(M->getNamedValue("fun"));
+ Instruction *DbgDeclare = &F.front().front();
+ ASSERT_TRUE(isa<DbgDeclareInst>(DbgDeclare));
+ // Check that this form counts as a "no location" marker.
----------------
Oops - I forgot to include a patch that changes this to a cast ^.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140902/new/
https://reviews.llvm.org/D140902
More information about the llvm-commits
mailing list