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:
25ddcb4
)
Add -flto to clang flags for cfi tests.
author
Alexey Samsonov
<vonosmas@gmail.com>
Fri, 19 Jun 2015 19:48:40 +0000
(19:48 +0000)
committer
Alexey Samsonov
<vonosmas@gmail.com>
Fri, 19 Jun 2015 19:48:40 +0000
(19:48 +0000)
llvm-svn: 240168
compiler-rt/test/cfi/lit.cfg
patch
|
blob
|
history
diff --git
a/compiler-rt/test/cfi/lit.cfg
b/compiler-rt/test/cfi/lit.cfg
index 86cc4030b80adc9dbb8404176bf9f3c27ceccb78..1fa5a1e25137d8ce33f9d29efb42470fcc02b124 100644
(file)
--- a/
compiler-rt/test/cfi/lit.cfg
+++ b/
compiler-rt/test/cfi/lit.cfg
@@
-9,7
+9,7
@@
clangxx = ' '.join([config.clang] + config.cxx_mode_flags)
config.substitutions.append((r"%clangxx ", clangxx + ' '))
if config.lto_supported:
- clangxx_cfi = ' '.join(config.lto_launch + [clangxx] + config.lto_flags + ['-fsanitize=cfi '])
+ clangxx_cfi = ' '.join(config.lto_launch + [clangxx] + config.lto_flags + ['-f
lto -f
sanitize=cfi '])
config.substitutions.append((r"%clangxx_cfi ", clangxx_cfi))
config.substitutions.append((r"%clangxx_cfi_diag ", clangxx_cfi + '-fno-sanitize-trap=cfi -fsanitize-recover=cfi '))
else: