[lld] r286401 - [ELF][MIPS] Attempt to fix buildbot

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 13:46:42 PST 2016


Author: atanasyan
Date: Wed Nov  9 15:46:42 2016
New Revision: 286401

URL: http://llvm.org/viewvc/llvm-project?rev=286401&view=rev
Log:
[ELF][MIPS] Attempt to fix buildbot

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=286401&r1=286400&r2=286401&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.cpp (original)
+++ lld/trunk/ELF/SyntheticSections.cpp Wed Nov  9 15:46:42 2016
@@ -84,7 +84,7 @@ template <class ELFT> InputSection<ELFT>
 template <class ELFT>
 static void iterateSectionContents(
     uint32_t Type,
-    std::function<void(ObjectFile<ELFT> *, ArrayRef<uint8_t>)> F) {
+    std::function<void(elf::ObjectFile<ELFT> *, ArrayRef<uint8_t>)> F) {
   for (InputSectionBase<ELFT> *Sec : Symtab<ELFT>::X->Sections) {
     if (Sec && Sec->Live && Sec->Type == Type) {
       Sec->Live = false;




More information about the llvm-commits mailing list