[all-commits] [llvm/llvm-project] 8b7fc6: [llvm-debuginfo-analyzer] Fix crash with WebAssemb...

Carlos Alberto Enciso via All-commits all-commits at lists.llvm.org
Wed Jun 25 21:37:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b7fc6487d568ef4f9f7029748e2ec179e0dc1dc
      https://github.com/llvm/llvm-project/commit/8b7fc6487d568ef4f9f7029748e2ec179e0dc1dc
  Author: Carlos Alberto Enciso <Carlos.Enciso at sony.com>
  Date:   2025-06-26 (Thu, 26 Jun 2025)

  Changed paths:
    M llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h
    M llvm/include/llvm/DebugInfo/LogicalView/Readers/LVDWARFReader.h
    M llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
    A llvm/test/tools/llvm-debuginfo-analyzer/WebAssembly/wasm-32bit-tombstone.s

  Log Message:
  -----------
  [llvm-debuginfo-analyzer] Fix crash with WebAssembly dead code (#141616)

https://github.com/llvm/llvm-project/issues/136772
Incorrect handling of 'tombstone' value for WebAssembly.

llvm-debuginfo-analyzer already uses the tombstone approach
to identify dead code. Currently, the tombstone value is
evaluated as std::numeric_limits<uint64_t>::max(). Which is
wrong as it does not take into account the 'Address Byte Size'
from the Compile Unit header.



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