diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-05-14 18:39:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-14 18:39:48 -0500 |
commit | 4a17e86f27a0a527ef5316f14fa0e5a60546d9ec (patch) | |
tree | dc3ad8d79edb032abac7e553731bd774b26e73fc /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | e417e61532ac373e7b0708262dedefcdaf6ced9c (diff) | |
download | llvm-4a17e86f27a0a527ef5316f14fa0e5a60546d9ec.zip llvm-4a17e86f27a0a527ef5316f14fa0e5a60546d9ec.tar.gz llvm-4a17e86f27a0a527ef5316f14fa0e5a60546d9ec.tar.bz2 |
[LinkerWrapper] Add an overriding option for debugging (#91984)
Summary:
One of the downsides of the linker wrapper is that it made debugging
more difficult. It is very powerful in that it can resolve a lot of
input matching and library handling that could not be done before.
However, the old method allowed users to simply copy-paste the script
files to modify the output and test it.
This patch attempts to make it easier to debug changes by letting the
user override all the linker inputs. That is, we provide a user-created
binary that is treated like the final output of the device link step.
The intended use-case is for using `-save-temps` to get some IR, then
modifying the IR and sticking it back in to see if it exhibits the old
failures.
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions