[llvm] [DebugInfo] Make DIArgList inherit from Metadata and always unique (PR #72147)
Stephen Tozer via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 16 07:44:23 PST 2023
================
@@ -1265,9 +1265,8 @@ void SlotTracker::CreateFunctionSlot(const Value *V) {
void SlotTracker::CreateMetadataSlot(const MDNode *N) {
assert(N && "Can't insert a null Value into SlotTracker!");
- // Don't make slots for DIExpressions or DIArgLists. We just print them inline
- // everywhere.
- if (isa<DIExpression>(N) || isa<DIArgList>(N))
+ // Don't make slots for DIExpressions. We just print them inline everywhere.
+ if (isa<DIExpression>(N))
----------------
SLTozer wrote:
Correct, this function only gets called for MDNodes, so DIArgList doesn't need to care anymore.
https://github.com/llvm/llvm-project/pull/72147
More information about the llvm-commits
mailing list