projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6507f0
)
Remove LIT_SITE_CFG_IN_FOOTER, lld
author
Nico Weber
<nicolasweber@gmx.de>
Thu, 30 Aug 2018 22:12:16 +0000
(22:12 +0000)
committer
Nico Weber
<nicolasweber@gmx.de>
Thu, 30 Aug 2018 22:12:16 +0000
(22:12 +0000)
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
llvm-svn: 341134
lld/test/lit.site.cfg.py.in
patch
|
blob
|
history
diff --git
a/lld/test/lit.site.cfg.py.in
b/lld/test/lit.site.cfg.py.in
index
764ab83
..
c5fc695
100644
(file)
--- a/
lld/test/lit.site.cfg.py.in
+++ b/
lld/test/lit.site.cfg.py.in
@@
-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))
-@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")