[all-commits] [llvm/llvm-project] 632ea6: [sanitizer][sancov] Use pc-1 for s390x

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Feb 23 13:35:35 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 632ea6929d5cb5b3c4ff1b44df5d4e075d9f1dda
      https://github.com/llvm/llvm-project/commit/632ea6929d5cb5b3c4ff1b44df5d4e075d9f1dda
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-02-23 (Wed, 23 Feb 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.h
    M compiler-rt/test/tsan/test.h
    M llvm/tools/sancov/sancov.cpp

  Log Message:
  -----------
  [sanitizer][sancov] Use pc-1 for s390x

The stack trace addresses may be odd (normally addresses should be even), but
seems a good compromise when the instruction length (2,4,6) cannot be detected
easily.

Reviewed By: uweigand

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




More information about the All-commits mailing list