diff options
author | Fangrui Song <i@maskray.me> | 2023-07-07 23:57:45 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2023-07-07 23:57:45 -0700 |
commit | 681cb54a54bb60dea9034b4b0b45ccc392875b9a (patch) | |
tree | f6a22d48fab6d27747464d4a8a7ffeefb3f15e31 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 62281227bf7ca48d0101e4c9d11f71600208c7df (diff) | |
download | llvm-681cb54a54bb60dea9034b4b0b45ccc392875b9a.zip llvm-681cb54a54bb60dea9034b4b0b45ccc392875b9a.tar.gz llvm-681cb54a54bb60dea9034b4b0b45ccc392875b9a.tar.bz2 |
[Driver] Fix duplicate -L after D150013
D150013 is to render -L for AMDGPU but updating tools::AddLinkerInputs is wrong
and causes many non-isCrossCompiling targets to have duplicate -L options
because they do `Args.AddAllArgs(CmdArgs, options::OPT_L);`.
Revert the change and add a `Args.AddAllArgs(CmdArgs, options::OPT_L);` instead.
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions