This is an archive of the discontinued LLVM Phabricator instance.

Add small text file reader facility.
AbandonedPublic

Authored by dnovillo on Nov 29 2013, 2:48 PM.

Details

Reviewers
None
Summary

This adds a new utility class in lib/Support: A class to read small
text files one line at a time. It's meant to be a very simple file
reading interface with support for keeping track of line numbers and
specifying a character to mark line comments.

The code has been factored out of the sample profiler pass.

Diff Detail

Event Timeline

dnovillo abandoned this revision.Nov 29 2013, 2:50 PM