[all-commits] [llvm/llvm-project] f6320f: [libunwind] [SEH] Clear DISPATCHER_CONTEXT when in...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Sat Apr 22 12:54:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6320f5e0e63268049086d17e903ee9bc80a996d
      https://github.com/llvm/llvm-project/commit/f6320f5e0e63268049086d17e903ee9bc80a996d
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-04-22 (Sat, 22 Apr 2023)

  Changed paths:
    M libunwind/src/UnwindCursor.hpp

  Log Message:
  -----------
  [libunwind] [SEH] Clear DISPATCHER_CONTEXT when initializing a cursor

We only initialize a few fields in DISPATCHER_CONTEXT - don't leave
the rest in an uninitialized state; make sure the whole struct is
in a deterministic state.

This makes nondeterministic failures deterministic, for some cases
relating to forced unwinding on aarch64/arm (which requires filling
in parsing of the xdata for finding the exception handler and LSDA).

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


  Commit: 6510163242b66b4e8652c1976957bfec99361949
      https://github.com/llvm/llvm-project/commit/6510163242b66b4e8652c1976957bfec99361949
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-04-22 (Sat, 22 Apr 2023)

  Changed paths:
    M compiler-rt/test/asan/CMakeLists.txt

  Log Message:
  -----------
  [compiler-rt] [test] [asan] Skip the static asan testsuites on mingw targets

Mingw only provides a dynamically linked CRT (contrary to
MSVC/clang-cl), so it is expected that the static asan test
configuration doesn't work.

Skip adding these test suites in mingw configurations.

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


Compare: https://github.com/llvm/llvm-project/compare/745221268125...6510163242b6


More information about the All-commits mailing list