[all-commits] [llvm/llvm-project] 5ea9dd: [compiler-rt] Support building runtimes for Window...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Aug 8 03:51:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ea9dd8c7076270695a1d90b9c73718e7d95e0bf
      https://github.com/llvm/llvm-project/commit/5ea9dd8c7076270695a1d90b9c73718e7d95e0bf
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
    M compiler-rt/lib/sanitizer_common/sanitizer_unwind_win.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp

  Log Message:
  -----------
  [compiler-rt] Support building runtimes for Windows on arm32 (#101462)

In these environments, the architecture name is armv7; recognize that
and enable the relevant runtimes.

Fix building the sanitizer_common library for this target, by using the
right registers for the architecture - this is similar to what
0c391133c9201ef29273554a1505ef855ce17668 did for aarch64.

(Still, address sanitizer doesn't support hooking functions at runtime
on armv7 or aarch64 - but other runtimes such as ubsan do work.)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list