[llvm] [BOLT] Fix LSDA section handling (PR #71821)

Vladislav Khmelevsky via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 19 23:35:02 PST 2023


================
@@ -0,0 +1,47 @@
+// This test check that LSDA section named by .gcc_except_table.main is
+// disassembled by BOLT.
+
+// RUN: %clang++ %cxxflags -O3 -flto=thin -no-pie -c %s -o %t.o
+// RUN: %clang++ %cxxflags -flto=thin -no-pie -fuse-ld=lld %t.o -o %t.exe \
----------------
yota9 wrote:

Currently definitely not since I've added @rafaelauler offer to the ld script at least (I'm not sure does the problem has any connection to lto by default, probably not). I've just re-used the test provided in #71804 . Does it raise some problem here? 

https://github.com/llvm/llvm-project/pull/71821


More information about the llvm-commits mailing list