[all-commits] [llvm/llvm-project] ebf249: [lldb] SBTarget::AddModule do all searches by UUID...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Fri Aug 11 14:20:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ebf249066ac5c7917064eb56a9e51c21000cdf93
https://github.com/llvm/llvm-project/commit/ebf249066ac5c7917064eb56a9e51c21000cdf93
Author: Jason Molenda <jason at molenda.com>
Date: 2023-08-11 (Fri, 11 Aug 2023)
Changed paths:
M lldb/source/API/SBTarget.cpp
A lldb/test/API/python_api/target-arch-from-module/Makefile
A lldb/test/API/python_api/target-arch-from-module/TestTargetArchFromModule.py
A lldb/test/API/python_api/target-arch-from-module/main.c
Log Message:
-----------
[lldb] SBTarget::AddModule do all searches by UUID, set Target arch
Make SBTarget::AddModule possibly call out to an external program to
find the binary by UUID if it can't be found more easily, the same
way `target modules add -u ...` works from the commandline.
If the Target does not have an architecture set yet, use the
Module's Arch to initialize it. Allows an API writer to create
a target with no arch, and inherit it from the first binary they
load with AddModules.
Differential Revision: https://reviews.llvm.org/D157659
rdar://113657555
More information about the All-commits
mailing list