[PATCH] D79245: [Verifier] Constrain where DILocations may be nested

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 10:09:52 PDT 2020


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

This is very useful! Thanks!



================
Comment at: llvm/test/Verifier/dilocation-in-wrong-place.ll:8
+define void @f() !dbg !5 {
+  ret void, !dbg !10, !unknown_md !11
+}
----------------
I didn't know you could just throw in any random identifier there!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79245





More information about the llvm-commits mailing list