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:
52dd98b
)
[compiler-rt] Only set lto_flags if lto_supported
author
Teresa Johnson
<tejohnson@google.com>
Thu, 19 Jul 2018 16:12:15 +0000
(16:12 +0000)
committer
Teresa Johnson
<tejohnson@google.com>
Thu, 19 Jul 2018 16:12:15 +0000
(16:12 +0000)
Fix bot failure from r37465. Move the new lto_flags append under the
check for whether lto_supported. Otherwise TestingConfig may not have
that member.
llvm-svn: 337467
compiler-rt/test/lit.common.cfg
patch
|
blob
|
history
diff --git
a/compiler-rt/test/lit.common.cfg
b/compiler-rt/test/lit.common.cfg
index
e860be4
..
5274b49
100644
(file)
--- a/
compiler-rt/test/lit.common.cfg
+++ b/
compiler-rt/test/lit.common.cfg
@@
-316,9
+316,8
@@
if config.lto_supported:
config.lto_flags += ["-flto=thin"]
else:
config.lto_flags += ["-flto"]
-
-if config.use_newpm:
- config.lto_flags += ["-fexperimental-new-pass-manager"]
+ if config.use_newpm:
+ config.lto_flags += ["-fexperimental-new-pass-manager"]
# Ask llvm-config about assertion mode.
try: