8c74f7f2991a10977fd5a003b2901b56eb2e19a8 |
|
13-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add the DataExtractor utility class. It is an endian-aware helper that can read data from a StringRef. It will come in handy for DWARF parsing. This class is inspired by LLDB's DataExtractor, but is stripped down to the bare minimum needed for DWARF. Comes with unit tests! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139626 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/DataExtractorTest.cpp
|