[all-commits] [llvm/llvm-project] d61a86: [Clang] Fix clang_rt tests when LLVM_ENABLE_PER_TA...

Michael Platings via All-commits all-commits at lists.llvm.org
Tue Feb 21 23:45:53 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d61a863050bb4afd22d08bbe53af1e24c0657aba
      https://github.com/llvm/llvm-project/commit/d61a863050bb4afd22d08bbe53af1e24c0657aba
  Author: Michael Platings <michael.platings at arm.com>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M clang/test/Driver/arm-compiler-rt.c
    M clang/test/Driver/print-libgcc-file-name-clangrt.c

  Log Message:
  -----------
  [Clang] Fix clang_rt tests when LLVM_ENABLE_PER_TARGET_RUNTIME_DIR is ON

If clang is part of a toolchain that can locate clang_rt libraries
outside its resource directory and these are built with
LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON then the tests would fail because
the library names don't have the arch suffix. This change makes the arch
suffix optional.

Differential Revision: https://reviews.llvm.org/D143666




More information about the All-commits mailing list