Skip to content

Commit 445f6f1

Browse files
authored
[BOLT][TEST] Remove LTO flag from a test (#72896)
The LTO flag is not needed for the test to work properly. However, it may not build on a system where compiler and linker versions don't match one another. Remove the LTO flag.
1 parent 97f9617 commit 445f6f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bolt/test/lsda.cpp renamed to bolt/test/lsda-section-name.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// This test check that LSDA section named by .gcc_except_table.main is
22
// disassembled by BOLT.
33

4-
// RUN: %clang++ %cxxflags -O3 -flto=thin -no-pie -c %s -o %t.o
5-
// RUN: %clang++ %cxxflags -flto=thin -no-pie -fuse-ld=lld %t.o -o %t.exe \
4+
// RUN: %clang++ %cxxflags -O3 -no-pie -c %s -o %t.o
5+
// RUN: %clang++ %cxxflags -no-pie -fuse-ld=lld %t.o -o %t.exe \
66
// RUN: -Wl,-q -Wl,--script=%S/Inputs/lsda.ldscript
77
// RUN: llvm-readelf -SW %t.exe | FileCheck %s
88
// RUN: llvm-bolt %t.exe -o %t.bolt

0 commit comments

Comments
 (0)