[all-commits] [llvm/llvm-project] 046b77: [lldb] Default initialize DWARFDebugMacroHeader

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Feb 16 10:38:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 046b772c78a8f6a9728191eda7dae9eb0c766f1b
      https://github.com/llvm/llvm-project/commit/046b772c78a8f6a9728191eda7dae9eb0c766f1b
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugMacro.h

  Log Message:
  -----------
  [lldb] Default initialize DWARFDebugMacroHeader

Default initialize the DWARFDebugMacroHeader to avoid returning a header
with uninitialized variables from DWARFDebugMacroHeader::ParseHeader.


  Commit: 6f1ce046fdd02458fe2e3824b865ba4bdf129d67
      https://github.com/llvm/llvm-project/commit/6f1ce046fdd02458fe2e3824b865ba4bdf129d67
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    M lldb/source/Breakpoint/BreakpointResolver.cpp

  Log Message:
  -----------
  [lldb] BreakpointResolver::CreateFromStructuredData Gardening (NFC)

 - Use an early return.
 - Check for error.Fail() instead of !error.Success().
 - Check the resolver pointer before using instead of relying on the
   error being set.


Compare: https://github.com/llvm/llvm-project/compare/2c5c243bb515...6f1ce046fdd0


More information about the All-commits mailing list