diff options
Diffstat (limited to 'llvm/tools/llvm-readobj/COFFDumper.cpp')
-rw-r--r-- | llvm/tools/llvm-readobj/COFFDumper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-readobj/COFFDumper.cpp b/llvm/tools/llvm-readobj/COFFDumper.cpp index b600fa63261..cb444be729e 100644 --- a/llvm/tools/llvm-readobj/COFFDumper.cpp +++ b/llvm/tools/llvm-readobj/COFFDumper.cpp @@ -982,7 +982,7 @@ void COFFDumper::printCodeViewSymbolSection(StringRef SectionName, // the next subsection. size_t SectionOffset = Data.data() - SectionContents.data(); size_t NextOffset = SectionOffset + SubSectionSize; - NextOffset = RoundUpToAlignment(NextOffset, 4); + NextOffset = alignTo(NextOffset, 4); Data = SectionContents.drop_front(NextOffset); // Optionally print the subsection bytes in case our parsing gets confused |