Index: ELF/Relocations.cpp =================================================================== --- ELF/Relocations.cpp +++ ELF/Relocations.cpp @@ -421,10 +421,10 @@ } template -static RelExpr adjustExpr(const elf::ObjectFile &File, SymbolBody &Body, - bool IsWrite, RelExpr Expr, uint32_t Type, - const uint8_t *Data, InputSectionBase &S, - typename ELFT::uint RelOff) { +LLVM_ATTRIBUTE_ALWAYS_INLINE static inline RelExpr +adjustExpr(const elf::ObjectFile &File, SymbolBody &Body, bool IsWrite, + RelExpr Expr, uint32_t Type, const uint8_t *Data, + InputSectionBase &S, typename ELFT::uint RelOff) { bool Preemptible = isPreemptible(Body, Type); if (Body.isGnuIFunc()) { Expr = toPlt(Expr);