[all-commits] [llvm/llvm-project] c6b15d: [lld][WebAssembly] Fix error message when linking ...

Sam Clegg via All-commits all-commits at lists.llvm.org
Mon Sep 28 15:14:01 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6b15d38928d586064932c3cc26d8c777e104196
      https://github.com/llvm/llvm-project/commit/c6b15d38928d586064932c3cc26d8c777e104196
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2026-09-28 (Mon, 28 Sep 2026)

  Changed paths:
    M lld/test/wasm/check-arch-32-in-64.test
    M lld/test/wasm/check-arch-64-in-32.test
    M lld/wasm/InputFiles.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Fix error message when linking wasm64 file with -mwasm32 (#227091)

When `-mwasm32` is explicitly passed and a wasm64 object file is linked,
the error message previously stated:
"wasm32 object file can't be linked in wasm64 mode". Fix this to report
that the wasm64 object file cannot be linked in wasm32 mode.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list