Use version 402 for the GCDA files when compiling for Apple.

llvm-svn: 136369
This commit is contained in:
Bill Wendling 2011-07-28 18:12:20 +00:00
parent 1f9e7ecd53
commit 8f7bb614ea

View File

@ -114,7 +114,11 @@ void llvm_gcda_start_file(const char *orig_filename) {
output_file = fopen(filename, "wb");
/* gcda file, version 404*, stamp LLVM. */
#ifdef __APPLE__
fwrite("adcg*204MVLL", 12, 1, output_file);
#else
fwrite("adcg*404MVLL", 12, 1, output_file);
#endif
#ifdef DEBUG_GCDAPROFILING
printf("llvmgcda: [%s]\n", orig_filename);