This is an archive of the discontinued LLVM Phabricator instance.

[Verifier] Improve error for cross-module references
ClosedPublic

Authored by loladiro on Nov 6 2015, 6:23 PM.

Details

Summary

By including the module name in the error message. This makes the error message much more useful and saves a trip to the debugger.

Diff Detail

Repository
rL LLVM

Event Timeline

loladiro updated this revision to Diff 39617.Nov 6 2015, 6:23 PM
loladiro retitled this revision from to [Verifier] Improve error for cross-module references.
loladiro updated this object.
loladiro set the repository for this revision to rL LLVM.
loladiro added a subscriber: llvm-commits.
loladiro updated this revision to Diff 41072.Nov 24 2015, 12:22 PM

Redone using VerifierSupport and with a test case to make sure it works.

loladiro added a subscriber: dexonsmith.

@dexonsmith Does this look ok now?

This revision was automatically updated to reflect the committed changes.