This is an archive of the discontinued LLVM Phabricator instance.

[TableGen] more helpful error message in MapTableEmitter
ClosedPublic

Authored by nhaehnle on Feb 15 2016, 1:43 PM.

Details

Summary

This should speak for itself. I found it useful in tracking down a confusing error in .td files.

Diff Detail

Event Timeline

nhaehnle updated this revision to Diff 48008.Feb 15 2016, 1:43 PM
nhaehnle retitled this revision from to [TableGen] more helpful error message in MapTableEmitter.
nhaehnle updated this object.
nhaehnle added reviewers: spop, stoklund.
nhaehnle set the repository for this revision to rL LLVM.
nhaehnle added a subscriber: llvm-commits.
ab accepted this revision.Feb 16 2016, 4:32 PM
ab added a reviewer: ab.
ab added a subscriber: ab.

LGTM.

utils/TableGen/CodeGenMapTable.cpp
347

Why not getAsString() ?

This revision is now accepted and ready to land.Feb 16 2016, 4:32 PM
This revision was automatically updated to reflect the committed changes.