| 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 %s |
| 5 |
// RUN: %clang --target=powerpc64-ibm-aix -print-libgcc-file-name \ |
| 6 |
// RUN: -resource-dir=%S/Inputs/resource_dir \ |
| 7 |
// RUN: | FileCheck -check-prefix=CHECK64 %s |
| 8 |
// 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 %s |
| 11 |
// 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 %s |
| 14 |
|
| 15 |
// CHECK32: resource_dir{{/|\\}}lib{{/|\\}}aix{{/|\\}}libclang_rt.builtins-powerpc.a |
| 16 |
// CHECK64: resource_dir{{/|\\}}lib{{/|\\}}aix{{/|\\}}libclang_rt.builtins-powerpc64.a |
| 17 |
// CHECK32-PER-TARGET: resource_dir_with_per_target_subdir{{/|\\}}lib{{/|\\}}powerpc-ibm-aix{{/|\\}}libclang_rt.builtins.a |
| 18 |
// CHECK64-PER-TARGET: resource_dir_with_per_target_subdir{{/|\\}}lib{{/|\\}}powerpc64-ibm-aix{{/|\\}}libclang_rt.builtins.a |