[PATCH] D143921: [debug-info][codegen] Prevent creation of self-referential SP node
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 13 13:03:46 PST 2023
aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/IR/Verifier.cpp:1404
+ CheckDI(!N.getRawDeclaration(),
+ "subprogram declaration must not have a declaration field");
}
----------------
Can you a new test for this?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143921/new/
https://reviews.llvm.org/D143921
More information about the llvm-commits
mailing list