Skip to content

Commit

Permalink
Use version 402 for the GCDA files when compiling for Apple.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136369 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
isanbard committed Jul 28, 2011
1 parent 354712c commit ad759c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/libprofile/GCDAProfiling.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ad759c5

Please sign in to comment.