[lld] r341134 - Remove LIT_SITE_CFG_IN_FOOTER, lld

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 30 15:12:17 PDT 2018


Author: nico
Date: Thu Aug 30 15:12:16 2018
New Revision: 341134

URL: http://llvm.org/viewvc/llvm-project?rev=341134&view=rev
Log:
Remove LIT_SITE_CFG_IN_FOOTER, lld

It's always replaced with the same (short) static string, so just put that
there directly.

No intended behavior change.
https://reviews.llvm.org/D51357

Modified:
    lld/trunk/test/lit.site.cfg.py.in

Modified: lld/trunk/test/lit.site.cfg.py.in
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.site.cfg.py.in?rev=341134&r1=341133&r2=341134&view=diff
==============================================================================
--- lld/trunk/test/lit.site.cfg.py.in (original)
+++ lld/trunk/test/lit.site.cfg.py.in Thu Aug 30 15:12:16 2018
@@ -25,7 +25,8 @@ except KeyError as e:
     key, = e.args
     lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
 
- at LIT_SITE_CFG_IN_FOOTER@
+import lit
+lit.llvm.initialize(lit_config, config)
 
 # Let the main config do the real work.
 lit_config.load_config(config, "@LLD_SOURCE_DIR@/test/lit.cfg.py")




More information about the llvm-commits mailing list