This is an archive of the discontinued LLVM Phabricator instance.

[TableGen] Make the NUL character invalid in .td files, version 2
ClosedPublic

Authored by Paul-C-Anagnostopoulos on May 11 2021, 10:00 AM.

Details

Summary

This revision makes the NUL character invalid in TableGen .td files.

The first version used sed to convert @ to NUL in the test file. That didn't work on at least one build. This version uses tr.

Diff Detail

Event Timeline

Paul-C-Anagnostopoulos requested review of this revision.May 11 2021, 10:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 11 2021, 10:00 AM
dblaikie accepted this revision.May 11 2021, 10:10 AM

(can be easier to reuse the same review - that way it's easier to check the diff between the previous committed version of the patch to see what's being fixed)

If the only change is from sed to tr - this seems worth a shot. Keep an eye on the bots & see how it goes!

This revision is now accepted and ready to land.May 11 2021, 10:10 AM

I couldn't find anything in the actions to "restart review." Did I miss it?

I couldn't find anything in the actions to "restart review." Did I miss it?

I think you can update the review again - I don't know that there's any explicit "restart" state transition.