[all-commits] [llvm/llvm-project] 585df6: [lldb] Index Wasm data segment names by their entr...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Sep 24 22:07:50 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 585df631037b5cf8d822b9d6de5abb74cf79d1f4
      https://github.com/llvm/llvm-project/commit/585df631037b5cf8d822b9d6de5abb74cf79d1f4
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
    A lldb/test/Shell/ObjectFile/wasm/data-segment-names.yaml

  Log Message:
  -----------
  [lldb] Index Wasm data segment names by their entry's index (#226302)

ParseNames bounds-checked each data segment name entry's index but wrote
the name to the slot of the loop counter. A name subsection with more
entries than segments wrote past the end of the segment vector, and
entries listed out of order named the wrong segment.

rdar://186890690



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