This is an archive of the discontinued LLVM Phabricator instance.

Remove F_modify flag from FileOutputBuffer.
ClosedPublic

Authored by ruiu on Jan 18 2019, 2:26 PM.

Details

Summary

This code is dead. There is no use of the feature in the entire LLVM codebase.

Event Timeline

ruiu created this revision.Jan 18 2019, 2:26 PM
zturner accepted this revision.Jan 18 2019, 2:42 PM

I think we will need to add this back at some point in the future, because it's necessary for incremental updates. But if you want to remove it in the meantime since there's no existing use, I suppose I can't object.

This revision is now accepted and ready to land.Jan 18 2019, 2:42 PM
ruiu added a comment.Jan 18 2019, 4:05 PM

I was trying to find a cause of a bug in this file, and although this code was innocent, it took some time to understand and verify it, and then I noticed that there's no use of the feature after all. Let's remove this for now to reduce the maintaining cost.

This revision was automatically updated to reflect the committed changes.