[PATCH] Add function for consuming endian specific data from a buffer

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Mar 24 16:03:32 PDT 2014


> I'm not aware of any uses of input streams in LLVM. Generally, I expect
> this to be used on MemoryBuffers, and some of the uses I updated in
> clang read from StringRefs in this way.

OK. It might be worth it to try to "read" a larger structure at a time
like we do for lib/Object, but this function is probably fine for now.

Cheers,
Rafael



More information about the llvm-commits mailing list