zturner created this revision.
Herald added a subscriber: emaste.
LLVM provides this functionality, so there is no point duplicating it. This is
a pretty large patch because we call functions like
`FileSpec::IsRegularFile()`, or `FileSpec::GetFileType()` all over the place,
and all of these ar
zturner created this revision.
The idea is that `DataBufferLLVM` already covers this use case, so there is no
point duplicating the code. The only tricky thing is that I found one case
where we attempt to modify the bytes we read in (in `ObjectFilePECOFF`). It
seems kind of hackish, but it wo