[compiler-rt] r182008 - [ASan] Fix interface_symbols_darwin to pass a correct flag to nm.
Alexander Potapenko
glider at google.com
Thu May 16 06:49:12 PDT 2013
Author: glider
Date: Thu May 16 08:49:12 2013
New Revision: 182008
URL: http://llvm.org/viewvc/llvm-project?rev=182008&view=rev
Log:
[ASan] Fix interface_symbols_darwin to pass a correct flag to nm.
Modified:
compiler-rt/trunk/lib/asan/lit_tests/Darwin/interface_symbols_darwin.c
Modified: compiler-rt/trunk/lib/asan/lit_tests/Darwin/interface_symbols_darwin.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/Darwin/interface_symbols_darwin.c?rev=182008&r1=182007&r2=182008&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/Darwin/interface_symbols_darwin.c (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/Darwin/interface_symbols_darwin.c Thu May 16 08:49:12 2013
@@ -5,7 +5,7 @@
// RUN: %clang -fsanitize=address -dead_strip -O2 %s -o %t.exe
// RUN: rm -f %t.symbols %t.interface
-// RUN: nm -D `otool -L %t.exe | grep "asan_osx_dynamic.dylib" | \
+// RUN: nm -g `otool -L %t.exe | grep "asan_osx_dynamic.dylib" | \
// RUN: tr -d '\011' | \
// RUN: sed "s/.dylib.*/.dylib/"` \
// RUN: | grep " T " | sed "s/.* T //" \
More information about the llvm-commits
mailing list