[compiler-rt] r208946 - InstrProf: XFAIL tests from r208940 on Linux

Duncan P. N. Exon Smith dexonsmith at apple.com
Thu May 15 19:53:19 PDT 2014


Author: dexonsmith
Date: Thu May 15 21:53:19 2014
New Revision: 208946

URL: http://llvm.org/viewvc/llvm-project?rev=208946&view=rev
Log:
InstrProf: XFAIL tests from r208940 on Linux

According to the buildbots, the new features for shared objects don't
work on ELF since it requires an -fPIC when building the profile
library.  XFAIL these tests for now.

It's possible we'll have to build two versions of the profile library on
Linux (one with -fPIC and one without), but it's not clear to me exactly
how to resolve this.

Modified:
    compiler-rt/trunk/test/profile/instrprof-dynamic-one-shared.test
    compiler-rt/trunk/test/profile/instrprof-dynamic-two-shared.test

Modified: compiler-rt/trunk/test/profile/instrprof-dynamic-one-shared.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-dynamic-one-shared.test?rev=208946&r1=208945&r2=208946&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/instrprof-dynamic-one-shared.test (original)
+++ compiler-rt/trunk/test/profile/instrprof-dynamic-one-shared.test Thu May 15 21:53:19 2014
@@ -1,3 +1,5 @@
+XFAIL: linux, android
+
 RUN: mkdir -p %t.d
 RUN: %clang_profgen -o %t.d/a.shared -fPIC -shared %S/Inputs/instrprof-dynamic-a.cpp
 RUN: %clang_profgen -o %t-shared -fPIC -rpath %t.d %t.d/a.shared %S/Inputs/instrprof-dynamic-b.cpp %S/Inputs/instrprof-dynamic-main.cpp

Modified: compiler-rt/trunk/test/profile/instrprof-dynamic-two-shared.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-dynamic-two-shared.test?rev=208946&r1=208945&r2=208946&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/instrprof-dynamic-two-shared.test (original)
+++ compiler-rt/trunk/test/profile/instrprof-dynamic-two-shared.test Thu May 15 21:53:19 2014
@@ -1,3 +1,5 @@
+XFAIL: linux, android
+
 RUN: mkdir -p %t.d
 RUN: %clang_profgen -o %t.d/a.shared -fPIC -shared %S/Inputs/instrprof-dynamic-a.cpp
 RUN: %clang_profgen -o %t.d/b.shared -fPIC -shared %S/Inputs/instrprof-dynamic-b.cpp





More information about the llvm-commits mailing list