[PATCH] D29345: [sanitizer] Fix test on Darwin failing after 293682
Marcos Pividori via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 31 15:09:10 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL293710: [sanitizer] Fix interface test on Darwin, failing after 293682. (authored by mpividori).
Changed prior to commit:
https://reviews.llvm.org/D29345?vs=86492&id=86503#toc
Repository:
rL LLVM
https://reviews.llvm.org/D29345
Files:
compiler-rt/trunk/test/asan/TestCases/Darwin/interface_symbols_darwin.c
Index: compiler-rt/trunk/test/asan/TestCases/Darwin/interface_symbols_darwin.c
===================================================================
--- compiler-rt/trunk/test/asan/TestCases/Darwin/interface_symbols_darwin.c
+++ compiler-rt/trunk/test/asan/TestCases/Darwin/interface_symbols_darwin.c
@@ -4,10 +4,13 @@
// RUN: %clang_asan -dead_strip -O2 %s -o %t.exe
//
+// note: we can not use -D on Darwin.
// RUN: nm -g `%clang_asan %s -fsanitize=address -### 2>&1 | grep "libclang_rt.asan_osx_dynamic.dylib" | sed -e 's/.*"\(.*libclang_rt.asan_osx_dynamic.dylib\)".*/\1/'` \
+// RUN: | grep " [TU] " \
// RUN: | grep -o "\(__asan_\|__ubsan_\|__sancov_\|__sanitizer_\)[^ ]*" \
// RUN: | grep -v "__sanitizer_syscall" \
// RUN: | grep -v "__sanitizer_weak_hook" \
+// RUN: | grep -v "__sanitizer_mz" \
// RUN: | sed -e "s/__asan_version_mismatch_check_v[0-9]+/__asan_version_mismatch_check/" \
// RUN: > %t.exports
//
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29345.86503.patch
Type: text/x-patch
Size: 1114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170131/a6ee217d/attachment.bin>
More information about the llvm-commits
mailing list