kuperxu added a comment.
I don't have permission to commit, please land this code.
Thank you @JDevlieghere
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102833/new/
https://reviews.llvm.org/D102833
___
l
kuperxu added a comment.
Currently the main time consuming performance is when loading the executable.
In the MachProcess::GetMachOInformationFromMemory function if the executable
has 100 load_command, then the function _dyld_process_info_create will be
executed 100 times
Repository:
rG LLV
kuperxu added a reviewer: aprantl.
kuperxu added a comment.
The main reason for the problem is that dyld has modified the
_dyld_process_info_create function implementation, which has increased the
function's time consumption significantly and caused a huge delay in attaching
the program.
Repo
kuperxu updated this revision to Diff 346671.
kuperxu added a comment.
[debugserver]Recalculate the platform cache each time the port is cleared.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102833/new/
https://reviews.llvm.org/D102833
Files:
l
kuperxu created this revision.
kuperxu requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D102833
Files:
lldb/tools/debugserver/source/MacOSX/MachProcess.h
lldb/tools/debugse