[PATCH] D88270: Add a verifier check that rejects unique DISubprogram function attachments.
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 24 17:11:11 PDT 2020
vsk accepted this revision.
vsk added a comment.
This revision is now accepted and ready to land.
Thanks, lgtm! s/unique/non-unique/ in the summary?
================
Comment at: llvm/lib/IR/Verifier.cpp:2396
!cast<DISubprogram>(I.second)->isDistinct(),
"function declaration may only have a unique !dbg attachment",
&F);
----------------
I see we're checking this for declarations already :).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88270/new/
https://reviews.llvm.org/D88270
More information about the llvm-commits
mailing list