Debian Codegraph @

clang/test/Driver/darwin-ld-demangle-lld.c

raw
1 // With -fuse-ld=lld, -demangle is always passed to the linker on Darwin.
2
3 // RUN: %clang --target=x86_64-apple-darwin -### -fuse-ld=lld \
4 // RUN: -B%S/Inputs/lld -mlinker-version=0 %s 2>&1 \
5 // RUN: | FileCheck %s
6
7 // RUN: %clang --target=x86_64-apple-darwin -### -fuse-ld=lld \
8 // RUN: --ld-path=%S/Inputs/lld/ld64.lld -mlinker-version=0 %s 2>&1 \
9 // RUN: | FileCheck %s
10
11 // CHECK: "-demangle"