[all-commits] [llvm/llvm-project] 0f068e: [lldb] Identify a WebAssembly module by its build ...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Aug 3 13:25:07 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f068e7ba2ddfeaf078f87d53a33c6d662d4ce10
      https://github.com/llvm/llvm-project/commit/0f068e7ba2ddfeaf078f87d53a33c6d662d4ce10
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-08-03 (Mon, 03 Aug 2026)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/make/WASI.rules
    M lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
    M lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h
    A lldb/test/Shell/ObjectFile/wasm/build-id.yaml

  Log Message:
  -----------
  [lldb] Identify a WebAssembly module by its build id (#213554)

A Wasm module carries the identifier its linker gave it in a `build_id`
custom section, whose payload is the length of the identifier followed
by its bytes. That identifier is the only thing that tells one build of
a module from another.

`wasm-ld` emits the section only when asked, so the API test build asks
for it. A module linked without one still has no UUID.



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