aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2021-03-29 15:04:28 -0700
committerWei Mi <wmi@google.com>2021-03-30 14:37:29 -0700
commitd535a05ca1a6b959399762d5e14efde1fcfe6af8 (patch)
tree4fb3dac93307bf61d375d8d1f62b17abfe4cac0c /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
parent58cbb222ebba687d1f710de56649f1e201f646dc (diff)
downloadllvm-d535a05ca1a6b959399762d5e14efde1fcfe6af8.zip
llvm-d535a05ca1a6b959399762d5e14efde1fcfe6af8.tar.gz
llvm-d535a05ca1a6b959399762d5e14efde1fcfe6af8.tar.bz2
[ThinLTO] During module importing, close one source module before open
another one for distributed mode. Currently during module importing, ThinLTO opens all the source modules, collect functions to be imported and append them to the destination module, then leave all the modules open through out the lto backend pipeline. This patch refactors it in the way that one source module will be closed before another source module is opened. All the source modules will be closed after importing phase is done. It will save some amount of memory when there are many source modules to be imported. Note that this patch only changes the distributed thinlto mode. For in process thinlto mode, one source module is shared acorss different thinlto backend threads so it is not changed in this patch. Differential Revision: https://reviews.llvm.org/D99554
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions