Rust translation of TPDE util/misc.hpp, util/VectorWriter.hpp, DWARF.hpp,
util/AddressSanitizer.hpp, util/function_ref.hpp, and util/SmallBitSet.hpp,
revision 116b2b83eb8491fd63c017285c91b007b8a26a67.
Copyright 2025 Contributors to TPDE <https://tpde.org>.
Licensed under Apache-2.0 WITH LLVM-exception; original sources, license texts
and hashes are retained under tests/upstream. The shared inline-vector kernel
comes from this workspace's fresh assembler port. Rust modifications include
budgeted context storage, checked arithmetic and preconditions, exclusive
writer ownership and initialized safe byte access. See the coverage record.
Additional test references/licenses are retained in tests/upstream-asan and
tests/function_ref_reference. Callback borrowing, checked bitset access and
sanitizer configuration differences are recorded in the per-file coverage.
The full fresh SmallVector.hpp/SmallVector.cpp, BumpAllocator.hpp and
SegmentedVector.hpp translations retain source references and licenses under
tests/vector-reference, tests/bump-reference and tests/segmented-reference.
Generic resource lifetimes use explicit guards outside context arenas.
