[lld] r300681 - Fix buildbot failure.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 04:59:00 PDT 2017


Author: ruiu
Date: Wed Apr 19 06:58:59 2017
New Revision: 300681

URL: http://llvm.org/viewvc/llvm-project?rev=300681&view=rev
Log:
Fix buildbot failure.

Modified:
    lld/trunk/ELF/OutputSections.cpp

Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=300681&r1=300680&r2=300681&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Wed Apr 19 06:58:59 2017
@@ -89,7 +89,7 @@ template <class ELFT> void OutputSection
   typedef typename ELFT::Chdr Elf_Chdr;
 
   // Compress only DWARF debug sections.
-  if (!Config->CompressDebugSections || !(Flags & SHF_ALLOC) ||
+  if (!Config->CompressDebugSections || (Flags & SHF_ALLOC) ||
       !Name.startswith(".debug_"))
     return;
 




More information about the llvm-commits mailing list