Index: crosstest/runtests.sh |
diff --git a/crosstest/runtests.sh b/crosstest/runtests.sh |
index cf821e2936ba948796b01821a357db20293de9f0..bba53d708e1a59c7dc6fb9510843d42e081e567f 100755 |
--- a/crosstest/runtests.sh |
+++ b/crosstest/runtests.sh |
@@ -64,6 +64,17 @@ for optlevel in ${OPTLEVELS} ; do |
--driver=test_icmp_main.cpp \ |
--output=test_icmp_O${optlevel} |
+ # Compile the non-subzero object files straight from source |
+ # since the native LLVM backend does not understand how to |
+ # lower NaCl-specific intrinsics. |
+ ./crosstest.py -O${optlevel} --prefix=Subzero_ --target=x8632 \ |
+ --dir="${OUTDIR}" \ |
+ --llvm-bin-path="${LLVM_BIN_PATH}" \ |
+ --test=test_sync_atomic.cpp \ |
+ --crosstest-bitcode=0 \ |
+ --driver=test_sync_atomic_main.cpp \ |
+ --output=test_sync_atomic_O${optlevel} |
+ |
done |
for optlevel in ${OPTLEVELS} ; do |
@@ -74,4 +85,5 @@ for optlevel in ${OPTLEVELS} ; do |
"${OUTDIR}"/test_fcmp_O${optlevel} |
"${OUTDIR}"/test_global_O${optlevel} |
"${OUTDIR}"/test_icmp_O${optlevel} |
+ "${OUTDIR}"/test_sync_atomic_O${optlevel} |
done |