[all-commits] [llvm/llvm-project] dda53b: [lldb] Fix SBTarget::ReadInstruction with flavor...

Ebuka Ezike via All-commits all-commits at lists.llvm.org
Fri Apr 11 05:45:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dda53bef35c5ab49967e8755e69ce893ecb525c4
      https://github.com/llvm/llvm-project/commit/dda53bef35c5ab49967e8755e69ce893ecb525c4
  Author: Ebuka Ezike <yerimyah1 at gmail.com>
  Date:   2025-04-11 (Fri, 11 Apr 2025)

  Changed paths:
    M lldb/source/API/SBTarget.cpp
    A lldb/test/API/python_api/target/read-instructions-flavor/Makefile
    A lldb/test/API/python_api/target/read-instructions-flavor/TestTargetReadInstructionsFlavor.py
    A lldb/test/API/python_api/target/read-instructions-flavor/main.c

  Log Message:
  -----------
  [lldb] Fix  SBTarget::ReadInstruction  with flavor (#134626)

When you call the `SBTarget::ReadInstructions` with flavor from lldb
crashes. This is because the wrong order of the `DisassemblyBytes`
constructor this fixes that

---------

Signed-off-by: Ebuka Ezike <yerimyah1 at gmail.com>



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