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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136369 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2011-07-28 18:12:20 +00:00
parent 354712c5a5
commit ad759c5a07

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