[PATCH] Simplify Symbolizer::SymbolizePC() interface.
Alexey Samsonov
vonosmas at gmail.com
Mon Nov 24 14:14:43 PST 2014
Hi earthdok,
Return a linked list of AddressInfo objects,
instead of using an array of these objects as an output parameter.
This simplifies the code in callers of this function (especially
TSan).
Fix a few memory leaks from internal allocator, when the returned
AddressInfo objects were not properly cleared.
http://reviews.llvm.org/D6394
Files:
lib/lsan/lsan_common.cc
lib/sanitizer_common/sanitizer_common_libcdep.cc
lib/sanitizer_common/sanitizer_stacktrace_libcdep.cc
lib/sanitizer_common/sanitizer_symbolizer.cc
lib/sanitizer_common/sanitizer_symbolizer.h
lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cc
lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.h
lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
lib/sanitizer_common/sanitizer_symbolizer_win.cc
lib/tsan/rtl/tsan_report.cc
lib/tsan/rtl/tsan_report.h
lib/tsan/rtl/tsan_rtl.h
lib/tsan/rtl/tsan_rtl_report.cc
lib/tsan/rtl/tsan_suppressions.cc
lib/tsan/rtl/tsan_symbolize.cc
lib/tsan/rtl/tsan_symbolize.h
lib/ubsan/ubsan_diag.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6394.16581.patch
Type: text/x-patch
Size: 31391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141124/4162a86c/attachment.bin>
More information about the llvm-commits
mailing list