[all-commits] [llvm/llvm-project] c6e937: [llvm-dwarfdump] Add a null-check in `prettyPrintB...

mgschossmann via All-commits all-commits at lists.llvm.org
Fri Jun 7 12:59:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6e9371cbd23a9f2d03fee9b406065dbd0b7cf6a
      https://github.com/llvm/llvm-project/commit/c6e9371cbd23a9f2d03fee9b406065dbd0b7cf6a
  Author: mgschossmann <109181247+mgschossmann at users.noreply.github.com>
  Date:   2024-06-07 (Fri, 07 Jun 2024)

  Changed paths:
    M llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp
    A llvm/test/DebugInfo/dwarfdump-loclist-basetyperef.test

  Log Message:
  -----------
  [llvm-dwarfdump] Add a null-check in `prettyPrintBaseTypeRef`. (#93156)

Fixes #93104

Prevent a crash by only printing DWARFUnit-unaware information in cases
in which `DWARFUnit* U` is `nullptr`.



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