a921d2d2fb
This is useful in runtimes build for example which currently try to guess the correct triple where to place libraries in the multiarch layout. Using this flag, the build system can get the correct triple directly by querying Clang. Differential Revision: https://reviews.llvm.org/D101400
7 lines
270 B
C
7 lines
270 B
C
// Check the output of -print-multiarch.
|
|
|
|
// RUN: %clang -print-multiarch --target=x86_64-unknown-linux-gnu \
|
|
// RUN: -resource-dir=%S/Inputs/resource_dir \
|
|
// RUN: | FileCheck --check-prefix=PRINT-MULTIARCH %s
|
|
// PRINT-MULTIARCH: {{^}}x86_64-linux-gnu{{$}}
|