Get the pointer to the start of the debugging data
| 751 | |
| 752 | // Get the pointer to the start of the debugging data |
| 753 | const uint8_t* GetDebugInfoStream(uint32_t debug_info_off) const { |
| 754 | // Check that the offset is in bounds. |
| 755 | // Note that although the specification says that 0 should be used if there |
| 756 | // is no debug information, some applications incorrectly use 0xFFFFFFFF. |
| 757 | return (debug_info_off == 0 || debug_info_off >= data_size_) |
| 758 | ? nullptr |
| 759 | : DataBegin() + debug_info_off; |
| 760 | } |
| 761 | |
| 762 | struct PositionInfo { |
| 763 | PositionInfo() = default; |
nothing calls this directly
no outgoing calls
no test coverage detected