19 lines · c
1// Check the default rtlib for AIX.2// RUN: %clang --target=powerpc-ibm-aix -print-libgcc-file-name \3// RUN: -resource-dir=%S/Inputs/resource_dir \4// RUN: | FileCheck -check-prefix=CHECK32 %s5// RUN: %clang --target=powerpc64-ibm-aix -print-libgcc-file-name \6// RUN: -resource-dir=%S/Inputs/resource_dir \7// RUN: | FileCheck -check-prefix=CHECK64 %s8// RUN: %clang --target=powerpc-ibm-aix -print-libgcc-file-name \9// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \10// RUN: | FileCheck -check-prefix=CHECK32-PER-TARGET %s11// RUN: %clang --target=powerpc64-ibm-aix -print-libgcc-file-name \12// RUN: -resource-dir=%S/Inputs/resource_dir_with_per_target_subdir \13// RUN: | FileCheck -check-prefix=CHECK64-PER-TARGET %s14 15// CHECK32: resource_dir{{/|\\}}lib{{/|\\}}aix{{/|\\}}libclang_rt.builtins-powerpc.a16// CHECK64: resource_dir{{/|\\}}lib{{/|\\}}aix{{/|\\}}libclang_rt.builtins-powerpc64.a17// CHECK32-PER-TARGET: resource_dir_with_per_target_subdir{{/|\\}}lib{{/|\\}}powerpc-ibm-aix{{/|\\}}libclang_rt.builtins.a18// CHECK64-PER-TARGET: resource_dir_with_per_target_subdir{{/|\\}}lib{{/|\\}}powerpc64-ibm-aix{{/|\\}}libclang_rt.builtins.a19