bolt/deps/llvm-18.1.8/lldb/test/Shell/BuildScript/compiler-full-path.test
2025-02-14 19:21:04 +01:00

11 lines
459 B
Text

RUN: %build -n --mode=compile --verbose --arch=64 --compiler=/path/to/my/clang \
RUN: -o foo foobar.c | FileCheck %s --check-prefix=CHECK-CLANG
RUN: %build -n --mode=compile --verbose --arch=64 \
RUN: --compiler=/path/to/my/x64/cl.exe -o foo foobar.c | \
RUN: FileCheck %s --check-prefix=CHECK-MSVC
CHECK-CLANG: Command Line: /path/to/my/clang
CHECK-SAME: -o
CHECK-MSVC: Command Line: /path/to/my{{(\/|\\)(arm64|x64)(\/|\\)}}cl.exe
CHECK-SAME: /Fo