Index: testing/iossim/redirect-stdout.sh |
diff --git a/testing/iossim/redirect-stdout.sh b/testing/iossim/redirect-stdout.sh |
index d6c3cf8cfaa2e3a726b204a1d16542512cb9b6db..446550368bca320618341f3564311e3e31167f51 100755 |
--- a/testing/iossim/redirect-stdout.sh |
+++ b/testing/iossim/redirect-stdout.sh |
@@ -20,4 +20,6 @@ if [ ${#} -ne 2 ] ; then |
exit 2 |
fi |
-$1 | sed /cxx_destruct/d > $2 |
+echo "// Treat class-dump output as a system header." > $2 |
+echo "#pragma clang system_header" >> $2 |
+$1 | sed /cxx_destruct/d >> $2 |