[llvm] r258079 - Use new function name. NFC.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 18 12:55:24 PST 2016
Author: rafael
Date: Mon Jan 18 14:55:24 2016
New Revision: 258079
URL: http://llvm.org/viewvc/llvm-project?rev=258079&view=rev
Log:
Use new function name. NFC.
Modified:
llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
Modified: llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/COFFDumper.cpp?rev=258079&r1=258078&r2=258079&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/COFFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/COFFDumper.cpp Mon Jan 18 14:55:24 2016
@@ -1726,9 +1726,8 @@ void COFFDumper::printCodeViewFileChecks
error(object_error::parse_failed);
StringRef ChecksumBytes = Data.substr(0, FC->ChecksumSize);
W.printBinary("ChecksumBytes", ChecksumBytes);
- unsigned PaddedSize =
- RoundUpToAlignment(FC->ChecksumSize + sizeof(FileChecksum), 4) -
- sizeof(FileChecksum);
+ unsigned PaddedSize = alignTo(FC->ChecksumSize + sizeof(FileChecksum), 4) -
+ sizeof(FileChecksum);
Data = Data.drop_front(PaddedSize);
}
}
More information about the llvm-commits
mailing list