[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 02:15:18 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:
And to be really clear, ideally that test should have the `_load_config_used` symbol in a static library, so it’s not explicitly referenced or pulled in, other than lld doing it implicitly at the end.
https://github.com/llvm/llvm-project/pull/117400
    
    
More information about the llvm-commits
mailing list