[all-commits] [llvm/llvm-project] 32a62e: [lldb] Tolerate multiple compile units with the sa...

Pavel Labath via All-commits all-commits at lists.llvm.org
Mon Aug 12 02:29:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32a62ebdeab0c10d5311cf812e021717636d4514
      https://github.com/llvm/llvm-project/commit/32a62ebdeab0c10d5311cf812e021717636d4514
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-08-12 (Mon, 12 Aug 2024)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h
    A lldb/test/Shell/SymbolFile/DWARF/x86/dwp-hash-collision.s

  Log Message:
  -----------
  [lldb] Tolerate multiple compile units with the same DWO ID (#100577)

I ran into this when LTO completely emptied two compile units, so they
ended up with the same hash (see #100375). Although, ideally, the
compiler would try to ensure we don't end up with a hash collision even
in this case, guaranteeing their absence is practically impossible. This
patch ensures this situation does not bring down lldb.



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