diff options
| author | Alexey Samsonov <vonosmas@gmail.com> | 2015-06-19 19:48:40 +0000 |
|---|---|---|
| committer | Alexey Samsonov <vonosmas@gmail.com> | 2015-06-19 19:48:40 +0000 |
| commit | 39592635458921ea8fa88ec34870e9c8c517001a (patch) | |
| tree | 9aaa69adabae0c929d7de86f269cfeb196f3860e | |
| parent | 25ddcb4c27fb17a2173cf43159952900a72b3ac4 (diff) | |
| download | bcm5719-llvm-39592635458921ea8fa88ec34870e9c8c517001a.tar.gz bcm5719-llvm-39592635458921ea8fa88ec34870e9c8c517001a.zip | |
Add -flto to clang flags for cfi tests.
llvm-svn: 240168
| -rw-r--r-- | compiler-rt/test/cfi/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/cfi/lit.cfg b/compiler-rt/test/cfi/lit.cfg index 86cc4030b80..1fa5a1e2513 100644 --- 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 + ['-flto -fsanitize=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: |

