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

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Sep 3 07:04:46 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: e3abd19242dd908e6186639d091f6ecc219963f0
      https://github.com/llvm/llvm-project/commit/e3abd19242dd908e6186639d091f6ecc219963f0
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-09-03 (Tue, 03 Sep 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.)

(cherry picked from commit 5ea9dd8c7076270695a1d90b9c73718e7d95e0bf)



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