[all-commits] [llvm/llvm-project] d10c1b: [sanitizer_common] Add StackTrace::PrintTo method

George Balatsouras via All-commits all-commits at lists.llvm.org
Thu May 20 19:40:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d10c1ba487c8b08db079e7698abd503a03c3862d
      https://github.com/llvm/llvm-project/commit/d10c1ba487c8b08db079e7698abd503a03c3862d
  Author: George Balatsouras <gbalats at google.com>
  Date:   2021-05-20 (Thu, 20 May 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
    M compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cpp
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp

  Log Message:
  -----------
  [sanitizer_common] Add StackTrace::PrintTo method

This method is like StackTrace::Print but instead of printing to stderr
it copies its output to a user-provided buffer.

Part of https://reviews.llvm.org/D102451.

Reviewed By: vitalybuka, stephan.yichao.zhao

Differential Revision: https://reviews.llvm.org/D102815




More information about the All-commits mailing list