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

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 19 23:40:38 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 \
----------------
maksfb wrote:

I’ve had an issue on a system where lld’s version didn’t match that of the compiler. Uncommon scenario, but nevertheless it’s better to fix. 

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


More information about the llvm-commits mailing list