[lld] [LLD] [COFF] Print a warning when using /dependentloadflag without load config (PR #117400)
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 23 08:44:41 PST 2024
================
@@ -29,3 +30,4 @@ FAIL: lld-link: error: /dependentloadflag: invalid argument: zz
FAIL-RANGE: lld-link: error: /dependentloadflag: invalid argument: 0xf0000
FAIL-NOARG: lld-link: error: /dependentloadflag: no argument specified
+WARN-NOBASE: lld-link: warning: _load_config_used not found, /delayloadflag will have no effect
----------------
mstorsjo wrote:
> Just to confirm. It'd be enough to turn `ldcfg.obj` into a static library and directly pass that library to LLD?
Yes, that’s right, thanks!
https://github.com/llvm/llvm-project/pull/117400
More information about the llvm-commits
mailing list