[all-commits] [llvm/llvm-project] cc324a: Revert "Port __sanitizer::StopTheWorld to Windows"

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Dec 17 10:41:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc324af0d64c27844964cb2977a2387dfdd20094
      https://github.com/llvm/llvm-project/commit/cc324af0d64c27844964cb2977a2387dfdd20094
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/CMakeLists.txt
    R compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_win.cpp
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_stoptheworld_test.cpp

  Log Message:
  -----------
  Revert "Port __sanitizer::StopTheWorld to Windows"

This reverts commit 3f5f687e2e8bf8b68c8a6ae0e000a8a78bfa70e5.

That commit broke building for mingw, where the sanitizers are
built with -nostdinc++, while the added source file includes
the C++ standard library's <algorithm>.

Additionally, the new code fails to build for i386, as it
unconditionally uses the CONTEXT member Rsp.




More information about the All-commits mailing list