[all-commits] [llvm/llvm-project] f464b7: [lldb] Change definition of DisassemblerCreateInst...

Alex via All-commits all-commits at lists.llvm.org
Mon May 15 13:56:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f464b7c764bcb8f29f28025919800f49405e4e93
      https://github.com/llvm/llvm-project/commit/f464b7c764bcb8f29f28025919800f49405e4e93
  Author: Alex Langford <alangford at apple.com>
  Date:   2023-05-15 (Mon, 15 May 2023)

  Changed paths:
    M lldb/include/lldb/lldb-private-interfaces.h
    M lldb/source/Core/Disassembler.cpp
    M lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.cpp
    M lldb/source/Plugins/Disassembler/LLVMC/DisassemblerLLVMC.h

  Log Message:
  -----------
  [lldb] Change definition of DisassemblerCreateInstance

DissassemblerCreateInstance is a function pointer whos return type is
`Disassembler *`. But Disassembler::FindPlugin always returns a
DisassemblerSP, so there's no reason why we can't just create a
DisassemblerSP in the first place.

Differential Revision: https://reviews.llvm.org/D150235




More information about the All-commits mailing list