[compiler-rt] r253847 - Fix a bug introduced in cleanup

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 22 21:16:29 PST 2015


Author: davidxl
Date: Sun Nov 22 23:16:28 2015
New Revision: 253847

URL: http://llvm.org/viewvc/llvm-project?rev=253847&view=rev
Log:
Fix a bug introduced in cleanup

Modified:
    compiler-rt/trunk/lib/profile/InstrProfilingBuffer.c

Modified: compiler-rt/trunk/lib/profile/InstrProfilingBuffer.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfilingBuffer.c?rev=253847&r1=253846&r2=253847&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfilingBuffer.c (original)
+++ compiler-rt/trunk/lib/profile/InstrProfilingBuffer.c Sun Nov 22 23:16:28 2015
@@ -55,7 +55,7 @@ static uint32_t bufferWriter(ProfDataIOV
   return 0;
 }
 
-LLVM_LIBRARY_VISIBILITY
+LLVM_LIBRARY_VISIBILITY int
 __llvm_profile_write_buffer(char *Buffer) {
   return llvmWriteProfData(bufferWriter, Buffer, 0, 0);
 }




More information about the llvm-commits mailing list