diff options
| author | David Carlier <devnexen@gmail.com> | 2018-09-11 10:35:32 +0000 |
|---|---|---|
| committer | David Carlier <devnexen@gmail.com> | 2018-09-11 10:35:32 +0000 |
| commit | 395aa789869c90a86b6eab67564dbe500571da59 (patch) | |
| tree | e66829c6fa29d0aeec4644968b53044cd545c4eb | |
| parent | 0dee397e062bc170b80e4d25d936d5a411cfe32f (diff) | |
| download | bcm5719-llvm-395aa789869c90a86b6eab67564dbe500571da59.tar.gz bcm5719-llvm-395aa789869c90a86b6eab67564dbe500571da59.zip | |
[Msan] Fix unit test linkage issue on FreeBSD
Fix typical relocation linkage issue.
Reviwewers: dim, emaste
Reviewed By: krytarowski
Differential Revision: https://reviews.llvm.org/D51681
llvm-svn: 341924
| -rw-r--r-- | compiler-rt/test/msan/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/msan/lit.cfg b/compiler-rt/test/msan/lit.cfg index 0a5aa75fcc3..e08673d5cfe 100644 --- a/compiler-rt/test/msan/lit.cfg +++ b/compiler-rt/test/msan/lit.cfg @@ -17,7 +17,7 @@ clang_msan_cflags = (["-fsanitize=memory", config.debug_info_flags) # Some Msan tests leverage backtrace() which requires libexecinfo on FreeBSD. if config.host_os == 'FreeBSD': - clang_msan_cflags += ["-lexecinfo"] + clang_msan_cflags += ["-lexecinfo", "-fPIC"] clang_msan_cxxflags = config.cxx_mode_flags + clang_msan_cflags # Flags for KMSAN invocation. This is C-only, we're not interested in C++. |

