[clang-cl] test that -Xlinker works, update supported options docs (#187395)

closes #119179
This commit is contained in:
Lucas Colley 2026-03-19 13:03:20 +00:00 committed by GitHub
parent 18ed1a9414
commit d641186cb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 714 additions and 95 deletions

File diff suppressed because it is too large Load Diff

View File

@ -74,3 +74,8 @@
// RUN: %clang_cl --target=x86_64-unknown-windows-msvc /Tc%s -flto -fuse-ld=lld -### -fprofile-sample-use=%S/Inputs/file.prof 2>&1 | FileCheck -check-prefix=CHECK-SAMPLE-PROFILE %s
// CHECK-SAMPLE-PROFILE: "-lto-sample-profile:{{.*}}/file.prof"
// RUN: %clang_cl /Tc%s -fuse-ld=lld -Xlinker --version -### 2>&1 \
// RUN: | FileCheck %s --check-prefix=XLINKER --implicit-check-not="warning:"
// XLINKER: lld-link
// XLINKER: --version