[all-commits] [llvm/llvm-project] 09fb20: [LLDB] Check comp_unit before accessing it in DIL ...

Ilia Kuklin via All-commits all-commits at lists.llvm.org
Thu Jul 10 08:34:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09fb20ec7d81c1b370dd3d259250c20e505ebeed
      https://github.com/llvm/llvm-project/commit/09fb20ec7d81c1b370dd3d259250c20e505ebeed
  Author: Ilia Kuklin <ikuklin at accesssoftek.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M lldb/source/ValueObject/DILEval.cpp
    A lldb/test/API/commands/frame/var-dil/basics/NoDebugInfo/Makefile
    A lldb/test/API/commands/frame/var-dil/basics/NoDebugInfo/TestFrameVarDILNoDebugInfo.py
    A lldb/test/API/commands/frame/var-dil/basics/NoDebugInfo/main.cpp

  Log Message:
  -----------
  [LLDB] Check comp_unit before accessing it in DIL (#147955)

Check `symbol_context.comp_unit` before accessing it to avoid `nullptr`
dereferencing.



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