commit | 058101e7dcfec2e42a77e107a9301eccc939aed9 | [log] [tgz] |
---|---|---|
author | Zachary Turner <zturner@google.com> | Mon Feb 06 18:31:21 2017 +0000 |
committer | Zachary Turner <zturner@google.com> | Mon Feb 06 18:31:21 2017 +0000 |
tree | ae1c0a1457c9d99254450d157f301d7b438cf1b4 | |
parent | f6e615cc841a5fc63c1895d7eff9f581fc8ad059 [diff] |
[Support] Add support for runtime endian values. Endian functions only support reading and writing when the endianness is known at compile time. This patch adds overloads where the endianness is a runtime value, and then delegates the compile-time versions to the runtime versions. Differential Revision: https://reviews.llvm.org/D29467 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294209 91177308-0d34-0410-b5e6-96231b3b80d8