Loading...
xcodescripts/install-codes.sh /dev/null libmalloc-140.1.1
--- /dev/null
+++ libmalloc/libmalloc-140.1.1/xcodescripts/install-codes.sh
@@ -0,0 +1,7 @@
+#!/bin/bash -e
+# install kdebug trace files based on the input file
+INPUT=${SCRIPT_INPUT_FILE_0}
+OUTPUT=${SCRIPT_OUTPUT_FILE_0}
+
+# pre-process the source and pass through perl it
+xcrun cc -E -I${SDKROOT}/System/Library/Frameworks/System.framework/PrivateHeaders -D_MALLOC_BUILDING_CODES_ "${INPUT}" | perl > "${OUTPUT}"