9 // Implementation of the InstrumentationMap type for XRay sleds.
59 // Find the section named "xray_instr_map".
110 // Copy the instrumentation map data into the Sleds data structure.
116 Twine("Instrumentation map entries not evenly divisible by size of "
157 // FIXME: Figure out how to keep this consistent with the XRay runtime.
204 // StringError instances contain.
208 // work, we treat it as YAML.
209 // FIXME: Extend to support non-ELF and non-x86_64 binaries.
215 // We try to load it as YAML if the ELF load didn't work.
224 // If the file is empty, we return the original error.
229 // consume the errors at this point.
Returns the function address for a function id.
Each entry here represents the kinds of supported instrumentation map entries.
Loads the instrumentation map from |Filename|.
Represents an XRay instrumentation sled entry from an object file.
Extract a uint8_t value from *offset_ptr.
Extract a uint64_t value from *offset_ptr.
Returns an XRay computed function id, provided a function address.