================
@@ -1574,6 +1569,13 @@ void RelocationScanner::scanOne(typename 
Relocs<RelTy>::const_iterator &i) {
     }
   }
 
+  scanOneAux<ELFT>(i, expr, type, offset, sym, addend);
+}
+
+template <class ELFT, class RelIt>
+void RelocationScanner::scanOneAux(RelIt &i, RelExpr expr, RelType type,
----------------
smithp35 wrote:

IIUC this is the common tail between scanEhSection and scanSection.

As .ehframe sections describe code sections, I wouldn't expect to see any GOT 
generating or TLS relocations. Could we call processAux directly from 
scanEhSection instead of calling scanOneAux. Then we could fold this part back 
into scanOne.

https://github.com/llvm/llvm-project/pull/161091
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to