Verify that MDNodes belong to the same context as the Module.
authorNick Lewycky <nicholas@mxc.ca>
Wed, 24 Mar 2021 18:52:02 +0000 (11:52 -0700)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 24 Mar 2021 19:38:05 +0000 (12:38 -0700)
commit80f6c99a78ac1d98ca02b1dd8ec9647c2841ea5f
tree3a77a4b1aaeaf06dc0ff7056ceb990295642881c
parenta6aae5f7fcd1111db87bfe77072912484213f872
Verify that MDNodes belong to the same context as the Module.

Differential Revision: https://reviews.llvm.org/D99289
llvm/lib/IR/Verifier.cpp
llvm/unittests/IR/VerifierTest.cpp