Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix another UBSan test error from r248897 and follow on fix r249689 | Teresa Johnson | 2015-10-08 | 1 | -0/+84 |
| | | | | | | | While here fix a few more issues with potential overflow and add new tests for these cases. Ensured that test now passes with UBSan. llvm-svn: 249745 | ||||
* | Add support for sub-byte aligned writes to lib/Support/Endian.h | Teresa Johnson | 2015-09-30 | 1 | -0/+48 |
| | | | | | | | | | | | | | | | Summary: As per Duncan's review for D12536, I extracted the sub-byte bit aligned reading and writing code into lib/Support, and generalized it. Added calls from BackpatchWord. Also added unittests. Reviewers: dexonsmith Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13189 llvm-svn: 248897 | ||||
* | [Support][Endian] Add support for specifying the alignment and native ↵ | Michael J. Spencer | 2013-01-02 | 1 | -11/+11 |
| | | | | | | | | | | | unaligned types. * Add support for specifying the alignment to use. * Add the concept of native endianness. Used for unaligned native types. The native alignment and read/write simplification is based on a patch by Richard Smith. llvm-svn: 171406 | ||||
* | Sort the #include lines for unittest/... | Chandler Carruth | 2012-12-04 | 1 | -1/+1 |
| | | | | llvm-svn: 169250 | ||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -1/+1 |
| | | | | llvm-svn: 120298 | ||||
* | Support: Add Endian.h | Michael J. Spencer | 2010-10-21 | 1 | -0/+72 |
llvm-svn: 117057 |