Files
renderdoc/renderdoc/os
baldurk 233c8bfce1 Use dl_iterate_phdr to generate non-PIE compatible mapping. Closes #1773
* For non-PIE executables /proc/self/maps contains a segment that starts at e.g.
  0x00400000, which is fine, but the offset listed is 00000000 which is not.
* We need to pass absolute addresses to addr2line, so using dl_iterate_phdr to
  iterate ourselves allows us to specify that the offset is 00400000.
* For simplicity and backwards compatibility, we generate the same format as
  /proc/self/maps complete with dummy fields that we don't need. In future this
  could be a more compact representation.
2020-03-12 16:51:19 +00:00
..