diff --git a/compiler-rt/test/sanitizer_common/TestCases/external_symbolizer_path.cpp b/compiler-rt/test/sanitizer_common/TestCases/external_symbolizer_path.cpp index 118fdc9eada07e..7203ce01266ab1 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/external_symbolizer_path.cpp +++ b/compiler-rt/test/sanitizer_common/TestCases/external_symbolizer_path.cpp @@ -1,3 +1,10 @@ +// If the binary looks up libraries using an rpath, we can't test this +// without copying the whole lib dir or polluting the build dir. +// REQUIRES: static-libs + +// The above also applies if the binary is built with libc++. +// UNSUPPORTED: libcxx-used + // REQUIRES: shell // REQUIRES: x86-target-arch // RUN: rm -rf %t.bin