[lld] r320671 - Fix a build bot failure.

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 23:28:11 PST 2017


Author: ikudrin
Date: Wed Dec 13 23:28:11 2017
New Revision: 320671

URL: http://llvm.org/viewvc/llvm-project?rev=320671&view=rev
Log:
Fix a build bot failure.

Modified:
    lld/trunk/ELF/SyntheticSections.cpp

Modified: lld/trunk/ELF/SyntheticSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.cpp?rev=320671&r1=320670&r2=320671&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.cpp (original)
+++ lld/trunk/ELF/SyntheticSections.cpp Wed Dec 13 23:28:11 2017
@@ -2572,7 +2572,7 @@ void ARMExidxSentinelSection::writeTo(ui
   // sentinel.
   OutputSection *C = getParent();
   InputSection *Highest = nullptr;
-  int Skip = 1;
+  unsigned Skip = 1;
   for (const BaseCommand *Base : llvm::reverse(C->SectionCommands)) {
     if (!isa<InputSectionDescription>(Base))
       continue;




More information about the llvm-commits mailing list