Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make the host endianness check an integer constant expression. | Rafael Espindola | 2013-04-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | I will remove the isBigEndianHost function once I update clang. The ifdef logic is designed to * not use configure/cmake to avoid breaking -arch i686 -arch ppc. * default to little endian * be as small as possible It looks like sys/endian.h is the preferred header on most modern BSD systems, but it is better to change this in a followup patch as machine/endian.h is available on FreeBSD, OpenBSD, NetBSD and OS X. llvm-svn: 179527 | ||||
* | DataExtractor: Fix integer truncation issues in LEB128 extraction. | Benjamin Kramer | 2012-08-20 | 1 | -3/+3 |
| | | | | llvm-svn: 162201 | ||||
* | Remove extra semi-colons. | Chad Rosier | 2012-02-22 | 1 | -1/+1 |
| | | | | llvm-svn: 151169 | ||||
* | Add the DataExtractor utility class. | Benjamin Kramer | 2011-09-13 | 1 | -0/+175 |
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! llvm-svn: 139626 |