summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorArtyom Skrobov <Artyom.Skrobov@arm.com>2014-06-14 11:36:01 +0000
committerArtyom Skrobov <Artyom.Skrobov@arm.com>2014-06-14 11:36:01 +0000
commitef5e867f16c9487b9279a26dd70bc34ff871317d (patch)
treed1ed262665b4a17a9a317a235f2d30398eb5e2a4 /llvm/lib/Object/MachOObjectFile.cpp
parent06aebc4d69a9ffd5eedb9d76ebb9117335f55eb3 (diff)
downloadbcm5719-llvm-ef5e867f16c9487b9279a26dd70bc34ff871317d.tar.gz
bcm5719-llvm-ef5e867f16c9487b9279a26dd70bc34ff871317d.zip
Renaming SwapByteOrder() to getSwappedBytes()
The next commit will add swapByteOrder(), acting in-place llvm-svn: 210973
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
-rw-r--r--llvm/lib/Object/MachOObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp
index e61422885ba..18f5cc057ac 100644
--- a/llvm/lib/Object/MachOObjectFile.cpp
+++ b/llvm/lib/Object/MachOObjectFile.cpp
@@ -45,7 +45,7 @@ struct section_base {
template<typename T>
static void SwapValue(T &Value) {
- Value = sys::SwapByteOrder(Value);
+ Value = sys::getSwappedBytes(Value);
}
template<typename T>
OpenPOWER on IntegriCloud