Index: crosstest/runtests.sh |
diff --git a/crosstest/runtests.sh b/crosstest/runtests.sh |
index 0bc4cf24f88b019bcf89055c61f4f8ace358ab0d..2718cf4be885a1d82eccb0472572564299e579f7 100755 |
--- a/crosstest/runtests.sh |
+++ b/crosstest/runtests.sh |
@@ -62,6 +62,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 |
@@ -72,4 +83,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 |