This is an archive of the discontinued LLVM Phabricator instance.

Make DWARFDebugLine use StringRef for dir/file tables. NFC
ClosedPublic

Authored by probinson on May 1 2017, 5:57 PM.

Details

Summary

From a @dblaikie review comment in D32713.
I wasn't sure whether changing the actual tables was the idea, or just simplifying the extraction.
A StringRef does take up more space, and it's common to have large numbers of directory and file entries; I don't think it's *that* big a deal, but I thought I'd get an opinion from reviewers first.

Diff Detail

Repository
rL LLVM

Event Timeline

probinson created this revision.May 1 2017, 5:57 PM
aprantl accepted this revision.May 1 2017, 6:21 PM

I think this looks much nicer!

include/llvm/Support/DataExtractor.h
69 ↗(On Diff #97374)

\param

76 ↗(On Diff #97374)

\return

This revision is now accepted and ready to land.May 1 2017, 6:21 PM
This revision was automatically updated to reflect the committed changes.
probinson marked 2 inline comments as done.May 2 2017, 10:50 AM