[lld] r258078 - Delete dead code.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 12:50:28 PST 2016


Author: rafael
Date: Mon Jan 18 14:50:28 2016
New Revision: 258078

URL: http://llvm.org/viewvc/llvm-project?rev=258078&view=rev
Log:
Delete dead code.

Modified:
    lld/trunk/ELF/OutputSections.h

Modified: lld/trunk/ELF/OutputSections.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.h?rev=258078&r1=258077&r2=258078&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.h (original)
+++ lld/trunk/ELF/OutputSections.h Mon Jan 18 14:50:28 2016
@@ -467,10 +467,6 @@ private:
   std::vector<FdeData> FdeList;
 };
 
-inline uint64_t align(uint64_t Value, uint64_t Align) {
-  return llvm::RoundUpToAlignment(Value, Align);
-}
-
 // All output sections that are hadnled by the linker specially are
 // globally accessible. Writer initializes them, so don't use them
 // until Writer is initialized.




More information about the llvm-commits mailing list