[all-commits] [llvm/llvm-project] 79f9cd: [lldb] Add a unit test for Wasm architecture compa...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jul 30 13:29:49 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79f9cdae9dd4502f72f596ff406b0d10ae4cc5a0
      https://github.com/llvm/llvm-project/commit/79f9cdae9dd4502f72f596ff406b0d10ae4cc5a0
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-07-30 (Thu, 30 Jul 2026)

  Changed paths:
    M lldb/unittests/Utility/ArchSpecTest.cpp

  Log Message:
  -----------
  [lldb] Add a unit test for Wasm architecture compatibility (#213070)

A Wasm module encodes neither a vendor nor an OS, so ObjectFileWasm
reports a bare wasm32 or wasm64 architecture. That keeps an on-disk
module compatible with the more specific triple a Wasm runtime reports
at launch, which lets the dynamic loader reuse the module instead of
reparsing it from process memory. An over-specified triple, including
one that spells out an unknown vendor and OS, does not match, because an
explicitly specified component still counts as specified.



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