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

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 19 11:30:54 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() {
----------------
maksfb wrote:

`clang input -o output.s -S`

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


More information about the llvm-commits mailing list