| 36 | } |
| 37 | |
| 38 | std::uint32_t block_offset(std::uint32_t block_id) const { |
| 39 | auto it = block_offsets_.find(block_id); |
| 40 | if (it == block_offsets_.end()) throw Error("block_offset: unbound id"); |
| 41 | return static_cast<std::uint32_t>(it->second); |
| 42 | } |
| 43 | |
| 44 | // placeholder rel32 to a target block. resolved later to target_off |
| 45 | // minus end_of_field |
no test coverage detected