[all-commits] [llvm/llvm-project] f529a9: [GWP-ASan] Fix sanitizer backtrace util using wron...

Mitch Phillips via All-commits all-commits at lists.llvm.org
Mon Dec 12 13:59:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f529a9f324a8eb4a0f2c5e662b6c57a6a775d62f
      https://github.com/llvm/llvm-project/commit/f529a9f324a8eb4a0f2c5e662b6c57a6a775d62f
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M compiler-rt/lib/gwp_asan/optional/backtrace_sanitizer_common.cpp

  Log Message:
  -----------
  [GWP-ASan] Fix sanitizer backtrace util using wrong print.

The sanitizer backtrace is used in tests, and calling StackTrace.Print()
means that it uses the sanitizer's Printf(), rather than GWP-ASan's
Printf(). In the current code, GWP-ASan's Printf() *is* the sanitizer
print, but this isn't guaranteed to be the case, and will change in an
upcoming patch.

Reviewed By: eugenis

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




More information about the All-commits mailing list