summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2025-08-13 14:24:47 -0500
committerGitHub <noreply@github.com>2025-08-13 14:24:47 -0500
commitdedc5916a53c160b3c1bac163fd6d92bc5882e21 (patch)
treea5ad3d9bcc090551d39d0163b0a7211f4c95d56e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentb6df17ff07d5ff3a386bee1643217f038cf7d6a6 (diff)
[LinkerWrapper] Remove special handling for archives (#114843)
Summary: Previously we extracted archives and did special symbol resolution on them, this was mostly done because the nvlink executable couldn't handle archives natively. Since I have added a wrapper around it that handles that, we can now remove a lot of this complexity and just create a new archive and pass it to the device linker. The one issue here is that for offloading code, we often have references to kernels that do not come from the device link job, but from the host that wishes to call them. Under normal circumstances we would ignore them because they are not referenced, but we need them. For now I am just passing `--whole-archive`. In a future patch I will likely add some logic to create a linker script that will tell the linker which symbols we want to be extracted. That won't work for NVPTX but it's the most canonical solution. Also some ugliness in this patch where I need to juggle whether or not the input is an archive and throw pairs around, I may merge that into the `OffloadFile` struct in a later patch.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions