[all-commits] [llvm/llvm-project] acfeb1: [compiler-rt] Avoid truncating Symbolizer output

Paul Kirth via All-commits all-commits at lists.llvm.org
Tue Jun 7 14:50:56 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: acfeb1a6c2446cb7e1ed6a4dcb298431b0d2b15c
      https://github.com/llvm/llvm-project/commit/acfeb1a6c2446cb7e1ed6a4dcb298431b0d2b15c
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
    M compiler-rt/test/sanitizer_common/TestCases/symbolize_stack.cpp

  Log Message:
  -----------
  [compiler-rt] Avoid truncating Symbolizer output

Repalce the fixed buffer in SymbolizerProcess with InternalScopedString,
and simply append to it when reading data.

Fixes #55460

Reviewed By: vitalybuka, leonardchan

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




More information about the All-commits mailing list