[llvm] [WebAssembly] Support parsing .lto_set_conditional (PR #126546)

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 29 04:50:32 PDT 2025


================
@@ -0,0 +1,13 @@
+; RUN: llc %s -filetype=obj
+
+target triple = "wasm32-unknown-unknown"
+
+; In .lto_set_conditional, the first symbol is renamed to the second symbol, so
+; the first symbol does not exist anymore in the file. Object writer should not
+; crash when .lto_set_conditional is present.
+
+module asm ".lto_set_conditional a,a.new"
----------------
aheejin wrote:

Done

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


More information about the llvm-commits mailing list