Archived
tests: regenerate abi_layout_table.h at ABI 24; complete abi_layout_rows.h
abi_layout_test has been red since 9d67df3 bumped RAD_ABI_VERSION to 24 without regenerating the snapshot, and the row file never listed Batch.sampler or any of the trailing debug fields (dbg_ve_*, dbg_dit_*, dbg_vd_* — 61 rows missing from the snapshot). Verified purely additive: no previously-listed field moved or changed size, both growths are fields past the old struct ends. kTableAbi 24. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
80b13b49d8
commit
5fb9dc92ad
3 files changed
+90
-6
No files matched your search
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* Checked: a C translation unit (abi_c_test.c, strict C11) lays every struct out as C++ does; every
|
||||
* struct's listed fields account for its size, so the list in abi_layout_rows.h is complete; and
|
||||
* the layout agrees with the table below, taken at RAD_ABI_VERSION 23 and RAD_FORMAT_VER 2. Under
|
||||
* the layout agrees with the table below, taken at RAD_ABI_VERSION 24 and RAD_FORMAT_VER 2. Under
|
||||
* those versions a listed field may not move or change size, an ABI struct may only grow by fields
|
||||
* past its old end, and an on-disk struct may not change at all. The table is a snapshot of the
|
||||
* headers: nothing else states the layout. When it disagrees the test prints the live table.
|
||||
@@ -57,8 +57,8 @@ std::vector<Row> cpp_rows() {
|
||||
};
|
||||
}
|
||||
|
||||
/* The layout at RAD_ABI_VERSION 23 / RAD_FORMAT_VER 2 (see the file header). */
|
||||
constexpr uint32_t kTableAbi = 23, kTableFormat = 2;
|
||||
/* The layout at RAD_ABI_VERSION 24 / RAD_FORMAT_VER 2 (see the file header). */
|
||||
constexpr uint32_t kTableAbi = 24, kTableFormat = 2;
|
||||
const AbiRow kTable[] = {
|
||||
#include "abi_layout_table.h"
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user