[BOLT] Fixed calling clang++ in tests on Windows (#151193)

`RUN: %clang++ ` tried to execute `clang.exe++` on Windows. Use `%clangxx` instead.
This commit is contained in:
Dmitry Vasilyev 2025-07-31 18:25:09 +04:00 committed by GitHub
parent a71909156e
commit c39b1aedd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,8 +1,8 @@
// This test check that LSDA section named by .gcc_except_table.main is
// disassembled by BOLT.
// RUN: %clang++ %cxxflags -O3 -no-pie -c %s -o %t.o
// RUN: %clang++ %cxxflags -O3 -no-pie -fuse-ld=lld %t.o -o %t
// RUN: %clangxx %cxxflags -O3 -no-pie -c %s -o %t.o
// RUN: %clangxx %cxxflags -O3 -no-pie -fuse-ld=lld %t.o -o %t
// RUN: llvm-objcopy --rename-section .gcc_except_table=.gcc_except_table.main %t
// RUN: llvm-readelf -SW %t | FileCheck %s
// RUN: llvm-bolt %t -o %t.bolt