Author: ericwf Date: Wed Jul 5 17:29:09 2017 New Revision: 307230 URL: http://llvm.org/viewvc/llvm-project?rev=307230&view=rev Log: Fix incomplete type test on OS X; workaround weird DYLD_LIBRARY_PATH behavior
Modified: libcxxabi/trunk/test/incomplete_type.sh.cpp Modified: libcxxabi/trunk/test/incomplete_type.sh.cpp URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/incomplete_type.sh.cpp?rev=307230&r1=307229&r2=307230&view=diff ============================================================================== --- libcxxabi/trunk/test/incomplete_type.sh.cpp (original) +++ libcxxabi/trunk/test/incomplete_type.sh.cpp Wed Jul 5 17:29:09 2017 @@ -16,9 +16,13 @@ // UNSUPPORTED: libcxxabi-no-exceptions +// NOTE: Pass -lc++abi explicitly and before -lc++ so that -lc++ doesn't drag +// in the system libc++abi installation on OS X. (DYLD_LIBRARY_PATH is ignored +// for shell tests because of Apple security features). + // RUN: %cxx %flags %compile_flags -c %s -o %t.one.o // RUN: %cxx %flags %compile_flags -c %s -o %t.two.o -DTU_ONE -// RUN: %cxx %flags %t.one.o %t.two.o %link_flags -o %t.exe +// RUN: %cxx %flags %t.one.o %t.two.o -lc++abi %link_flags -o %t.exe // RUN: %t.exe #include <stdio.h> _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits