commit | a68633fb76208137ccb807914df52758ee5ca6f0 | [log] [tgz] |
---|---|---|
author | Alexey Samsonov <samsonov@google.com> | Tue Jul 03 08:24:14 2012 +0000 |
committer | Alexey Samsonov <samsonov@google.com> | Tue Jul 03 08:24:14 2012 +0000 |
tree | 7f734d02805a1bb90d602c9a85b86aa647eeaaee | |
parent | c3d169863cd29a9a052bd9a21288f8cd4679f1d7 [diff] |
[Sanitizer] Extend a symbolizer code. Implemented for Linux only. Use dl_iterate_phdr to get virtual addresses of mapped module sections. To symbolize an address from a module, map this module to memory and obtain pointers to debug info sections. Later these pointers can be passed to constructor of DWARF context-in-memory from LLVM DebugInfo lib. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159652 91177308-0d34-0410-b5e6-96231b3b80d8