Chromium Code Reviews

Unified Diff: testing/iossim/redirect-stdout.sh

Issue 1161813003: Reland "Roll DEPS to class-dump 3.5" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use mac_deployment_target variables block Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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

Powered by Google App Engine