Fix lsda-section-name adding back RUN line incorrectly removed in 6ef632ad36 (#94301)

This commit is contained in:
Mehdi Amini
2024-06-03 18:43:49 -07:00
committed by GitHub
parent 9b0e1c2ca2
commit c7b7875e1e

View File

@@ -1,6 +1,7 @@
// 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: llvm-objcopy --rename-section .gcc_except_table=.gcc_except_table.main %t
// RUN: llvm-readelf -SW %t | FileCheck %s