[all-commits] [llvm/llvm-project] eb4a51: [compiler-rt] Avoid assertions when using LLVM_ENA...

Paul Kirth via All-commits all-commits at lists.llvm.org
Thu Apr 25 15:37:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb4a510283bdbf1e6f0b47a9e20ea88b775c5a85
      https://github.com/llvm/llvm-project/commit/eb4a510283bdbf1e6f0b47a9e20ea88b775c5a85
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-04-25 (Thu, 25 Apr 2024)

  Changed paths:
    M compiler-rt/test/ctx_profile/Unit/lit.site.cfg.py.in
    M compiler-rt/test/memprof/Unit/lit.site.cfg.py.in

  Log Message:
  -----------
  [compiler-rt] Avoid assertions when using LLVM_ENABLE_PER_TARGET_RUNTIME_DIR (#90127)

Previously, the memprof and ctx_profile lit.site.cfg would assert
if the enable_per_target_runtime_dir was set and the
config.target_arch != config.host_arch. However, config.host_arch would
never be set, meaning this would always fail in a when using
LLVM_ENABLE_PER_TARGET_RUNTIME_DIR.

This patch follows the example in the ASAN lit.site.cfg.py that updates
the compiler_rt_libdir appropriately.



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