[lld] [lld][ELF] Sort thunks by their destination to allow quicker convergence (PR #209962)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 06:04:22 PDT 2026


================
@@ -60,6 +60,8 @@ class Thunk {
   // enabled.
   virtual bool needsSyntheticLandingPad() { return false; }
 
+  virtual uint64_t getDestVA() const;
----------------
smithp35 wrote:

Does this need to be virtual? The only implementation is in the base class. It could be made virtual later on.

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


More information about the llvm-commits mailing list