From 3917fe0d94f8e0a3c3d58dcfda44f0c26f1561a1 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Thu, 16 May 2013 13:49:12 +0000 Subject: [PATCH] [ASan] Fix interface_symbols_darwin to pass a correct flag to nm. llvm-svn: 182008 --- .../lib/asan/lit_tests/Darwin/interface_symbols_darwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/asan/lit_tests/Darwin/interface_symbols_darwin.c b/compiler-rt/lib/asan/lit_tests/Darwin/interface_symbols_darwin.c index d0b4fdb2dc70..3fca6e915324 100644 --- a/compiler-rt/lib/asan/lit_tests/Darwin/interface_symbols_darwin.c +++ b/compiler-rt/lib/asan/lit_tests/Darwin/interface_symbols_darwin.c @@ -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 //" \