pub fn verify_metadata(ctx: &Context, module_op: ModuleOp) -> Result<()>Expand description
Verify that
- Every metadata reference in the module rooted at
module_opresolves to a node in the module’s metadata table - Every constant that a metadata node holds verifies and refers only to symbols of the module.