File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
include/llvm/DebugInfo/DWARF Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -333,11 +333,6 @@ class UnwindTable {
333333 }
334334 void insertRow (const UnwindRow &Row) { Rows.push_back (Row); }
335335
336- // / Set the last address that this unwinding table refers to.
337- // /
338- // / This is used when this table is created based on a FDE.
339- void setEndAddress (uint64_t Addr) { EndAddress = Addr; }
340-
341336 // / Dump the UnwindTable to the stream.
342337 // /
343338 // / \param OS the stream to use for output.
@@ -375,9 +370,6 @@ class UnwindTable {
375370
376371private:
377372 RowContainer Rows;
378- // / The end address when data is extracted from a FDE. This value will be
379- // / invalid when a UnwindTable is extracted from a CIE.
380- std::optional<uint64_t > EndAddress;
381373};
382374
383375LLVM_ABI raw_ostream &operator <<(raw_ostream &OS, const UnwindTable &Rows);
Original file line number Diff line number Diff line change @@ -217,7 +217,6 @@ Expected<UnwindTable> llvm::dwarf::createUnwindTable(const FDE *Fde) {
217217 UnwindTable UT;
218218 UnwindRow Row;
219219 Row.setAddress (Fde->getInitialLocation ());
220- UT.setEndAddress (Fde->getInitialLocation () + Fde->getAddressRange ());
221220 if (Error CieError = UT.parseRows (Cie->cfis (), Row, nullptr ))
222221 return std::move (CieError);
223222 // We need to save the initial locations of registers from the CIE parsing
You can’t perform that action at this time.
0 commit comments