[all-commits] [llvm/llvm-project] 2c0abd: [libc] [riscv] support build with `scudo` on `risc...

Schrodinger ZHU Yifan via All-commits all-commits at lists.llvm.org
Wed Dec 13 00:14:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c0abdf2df9fc92a513433f009718b1bfd216020
      https://github.com/llvm/llvm-project/commit/2c0abdf2df9fc92a513433f009718b1bfd216020
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2023-12-13 (Wed, 13 Dec 2023)

  Changed paths:
    M libc/src/stdlib/CMakeLists.txt

  Log Message:
  -----------
  [libc] [riscv] support build with `scudo` on `riscv64` (#74951)

This patch fixes cmake configuration when building with
LLVM_LIBC_INCLUDE_SCUDO. In libc, LIBC_TARGET_ARCHITECTURE is renamed
from `riscv64` to `riscv`. However, `compiler-rt`, hence `scudo`,
distinguishes `riscv32` and `riscv64` in the support list. As a result,
we need to translate the architecture name accordingly.




More information about the All-commits mailing list