diff options
| author | Alexey Samsonov <samsonov@google.com> | 2012-09-04 15:34:43 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2012-09-04 15:34:43 +0000 |
| commit | 6f696f4d17521262eb0e8442b59a1e7cee59b779 (patch) | |
| tree | 699f4be484d887e8d3f9ad59c89aafea310c2d8e /compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h | |
| parent | dcbfd19e88ddfa1b6e3944cba37bf1e59984ed46 (diff) | |
| download | bcm5719-llvm-6f696f4d17521262eb0e8442b59a1e7cee59b779.tar.gz bcm5719-llvm-6f696f4d17521262eb0e8442b59a1e7cee59b779.zip | |
[Sanitizer] Support for reading inlined frames from llvm-symbolizer
llvm-svn: 163140
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h index 482222add53..8eec715ea2e 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.h @@ -44,6 +44,13 @@ struct AddressInfo { } // Deletes all strings and sets all fields to zero. void Clear(); + + void FillAddressAndModuleInfo(uptr addr, const char *mod_name, + uptr mod_offset) { + address = addr; + module = internal_strdup(mod_name); + module_offset = mod_offset; + } }; // Fills at most "max_frames" elements of "frames" with descriptions |

