[llvm] [BOLT] Fix C++ exceptions when LPStart is specified (PR #72737)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 19 08:39:50 PST 2023


================
@@ -0,0 +1,107 @@
+# RUN: %clangxx %cflags -no-pie %s -o %t.exe -Wl,-q
+# RUN: llvm-bolt %t.exe -o %t.exe.bolt
+# RUN: %t.exe.bolt
+
+# REQUIRES: system-linux
+
+## Test that BOLT properly handles LPStart when LPStartEncoding is different
+## from DW_EH_PE_omit.
+
+# Test case compiled from:
+#
+# int main() {
----------------
ayermolo wrote:

what was the build command to produce main code and exception table?

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


More information about the llvm-commits mailing list