[llvm] [NFC] Remove UnwindTable dependency on CIE, and FDE (PR #142520)

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 17 19:32:57 PDT 2025


================
@@ -334,6 +331,12 @@ class UnwindTable {
     assert(Index < size());
     return Rows[Index];
   }
+  void insertRow(const UnwindRow &Row) { Rows.push_back(Row); }
+
+  /// Set the last address that this unwinding table refers to.
+  ///
+  /// This is used when this table is created based on a FDE.
+  void setEndAddress(uint64_t Addr) { EndAddress = Addr; }
 
----------------
igorkudrin wrote:

It looks like `EndAddress` is never used and can be dropped, so you don't need to add a method to set it.

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


More information about the llvm-commits mailing list