[lld] r298070 - [ELF] - Fix linux build bot.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 17 04:41:59 PDT 2017


Author: grimar
Date: Fri Mar 17 06:41:56 2017
New Revision: 298070

URL: http://llvm.org/viewvc/llvm-project?rev=298070&view=rev
Log:
[ELF] - Fix linux build bot.

Error was:
Relocations.cpp:792:38: error: expected primary-expression before ‘>’ token
         In<ELFT>::Iplt->addEntry<ELFT>(Body);

Modified:
    lld/trunk/ELF/Relocations.cpp

Modified: lld/trunk/ELF/Relocations.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Relocations.cpp?rev=298070&r1=298069&r2=298070&view=diff
==============================================================================
--- lld/trunk/ELF/Relocations.cpp (original)
+++ lld/trunk/ELF/Relocations.cpp Fri Mar 17 06:41:56 2017
@@ -789,13 +789,13 @@ static void scanRelocs(InputSectionBase
         continue;
 
       if (Body.isGnuIFunc() && !Preemptible) {
-        In<ELFT>::Iplt->addEntry<ELFT>(Body);
+        InX::Iplt->addEntry<ELFT>(Body);
         In<ELFT>::IgotPlt->addEntry(Body);
         In<ELFT>::RelaIplt->addReloc({Target->IRelativeRel, In<ELFT>::IgotPlt,
                                       Body.getGotPltOffset(), !Preemptible,
                                       &Body, 0});
       } else {
-        In<ELFT>::Plt->addEntry<ELFT>(Body);
+        InX::Plt->addEntry<ELFT>(Body);
         In<ELFT>::GotPlt->addEntry(Body);
         In<ELFT>::RelaPlt->addReloc({Target->PltRel, In<ELFT>::GotPlt,
                                      Body.getGotPltOffset(), !Preemptible,




More information about the llvm-commits mailing list