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 1c4bfe5ac6
commit 2533842439
1 changed files with 4 additions and 0 deletions

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);