| 61 | } |
| 62 | |
| 63 | void CompactOffsetTable::Build(const std::vector<uint32_t>& offsets, |
| 64 | std::vector<uint8_t>* out_data) { |
| 65 | static constexpr size_t kNumOffsets = 2; |
| 66 | uint32_t out_offsets[kNumOffsets] = {}; |
| 67 | CompactOffsetTable::Build(offsets, out_data, &out_offsets[0], &out_offsets[1]); |
| 68 | // Write the offsets at the start of the debug info. |
| 69 | out_data->insert(out_data->begin(), |
| 70 | reinterpret_cast<const uint8_t*>(&out_offsets[0]), |
| 71 | reinterpret_cast<const uint8_t*>(&out_offsets[kNumOffsets])); |
| 72 | } |
| 73 | |
| 74 | void CompactOffsetTable::Build(const std::vector<uint32_t>& offsets, |
| 75 | std::vector<uint8_t>* out_data, |
nothing calls this directly
no test coverage detected