CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
92 lines
3.9 KiB
C
92 lines
3.9 KiB
C
// Test the output of -print-libgcc-file-name on Darwin.
|
|
|
|
//
|
|
// All platforms
|
|
//
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: --target=x86_64-apple-macos \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-MACOS %s
|
|
// CHECK-CLANGRT-MACOS: libclang_rt.osx.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: --target=arm64-apple-ios \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-IOS %s
|
|
// CHECK-CLANGRT-IOS: libclang_rt.ios.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: --target=arm64-apple-watchos \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-WATCHOS %s
|
|
// CHECK-CLANGRT-WATCHOS: libclang_rt.watchos.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: --target=arm64-apple-tvos \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-TVOS %s
|
|
// CHECK-CLANGRT-TVOS: libclang_rt.tvos.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: --target=arm64-apple-driverkit \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-DRIVERKIT %s
|
|
// CHECK-CLANGRT-DRIVERKIT: libclang_rt.driverkit.a
|
|
|
|
//
|
|
// Simulators
|
|
//
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: --target=arm64-apple-ios-simulator \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-IOS-SIMULATOR %s
|
|
// CHECK-CLANGRT-IOS-SIMULATOR: libclang_rt.iossim.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: --target=arm64-apple-watchos-simulator \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-WATCHOS-SIMULATOR %s
|
|
// CHECK-CLANGRT-WATCHOS-SIMULATOR: libclang_rt.watchossim.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: --target=arm64-apple-tvos-simulator \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-TVOS-SIMULATOR %s
|
|
// CHECK-CLANGRT-TVOS-SIMULATOR: libclang_rt.tvossim.a
|
|
|
|
// Check the sanitizer and profile variants
|
|
// While the driver also links in sanitizer-specific dylibs, the result of
|
|
// -print-libgcc-file-name is the path of the basic compiler-rt library.
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: -fsanitize=address --target=x86_64-apple-macos \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-MACOS-SAN %s
|
|
// CHECK-CLANGRT-MACOS-SAN: libclang_rt.osx.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: -fsanitize=address --target=arm64-apple-ios \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-IOS-SAN %s
|
|
// CHECK-CLANGRT-IOS-SAN: libclang_rt.ios.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: -fsanitize=address --target=arm64-apple-watchos \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-WATCHOS-SAN %s
|
|
// CHECK-CLANGRT-WATCHOS-SAN: libclang_rt.watchos.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: -fsanitize=address --target=arm64-apple-tvos \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-TVOS-SAN %s
|
|
// CHECK-CLANGRT-TVOS-SAN: libclang_rt.tvos.a
|
|
|
|
// RUN: %clang -rtlib=compiler-rt -print-libgcc-file-name \
|
|
// RUN: -fsanitize=address --target=arm64-apple-driverkit \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir 2>&1 \
|
|
// RUN: | FileCheck --check-prefix=CHECK-CLANGRT-DRIVERKIT-SAN %s
|
|
// CHECK-CLANGRT-DRIVERKIT-SAN: libclang_rt.driverkit.a
|