[PATCH] Fix building InstrProfilingFile.c on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Wed Jun 11 10:00:20 PDT 2014


Related commit: rL209214.

================
Comment at: lib/profile/InstrProfilingFile.c:92
@@ -92,3 +91,3 @@
   /* Truncate the file.  Later we'll reopen and append. */
   FILE *File = fopen(Filename, "w");
   if (!File)
----------------
Is this file intended to be translated in a pre-C99 mode when mixed declarations and code are not permitted?

http://reviews.llvm.org/D4103






More information about the llvm-commits mailing list