[lld] [ARM][LLD] Fix buildbot failure due to ununsed variable [NFC] (PR #202925)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 05:04:02 PDT 2026


================
@@ -1801,8 +1801,7 @@ static bool isThunkSectionCompatible(InputSection *source, Thunk &thunk) {
 
   // Thunks in a different Overlay Output Section can't be reused
   // as we can't guarantee that the Overlay will be in memory.
-  return (source->getOutputSection() == targetOS->getOutputSection() ||
----------------
smithp35 wrote:

Yes, it was a mistake on my part, but happened to be a harmless one.

https://github.com/llvm/llvm-project/pull/202925


More information about the llvm-commits mailing list