aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/DataExtractor.cpp
AgeCommit message (Collapse)Author
2011-09-13Add the DataExtractor utility class.Benjamin Kramer
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