[all-commits] [llvm/llvm-project] eb5f24: [lldb] Report an error when a debug map object fil...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Sep 15 18:26:18 PDT 2026


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

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
    A lldb/test/Shell/SymbolFile/DWARF/missing-oso.cpp

  Log Message:
  -----------
  [lldb] Report an error when a debug map object file is missing (#223576)

When an OSO in the debug map does not exist on disk, LLDB records the
load error on the CompileUnitInfo but never surfaces it. The sibling
mod-time-mismatch branch does report, so a stale .o produces a
diagnostic while a deleted one fails silently.

This is easy to hit with LTO. The linker writes the merged object to a
temporary path and deletes it, so unless the build passes
-object_path_lto the debug map points at a file that is already gone.

rdar://162327417



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