summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/profile/InstrProfilingBuffer.c
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2015-11-23 05:16:28 +0000
committerXinliang David Li <davidxl@google.com>2015-11-23 05:16:28 +0000
commitab94e71dc6ee7a1a0143f2313c4426ca83546ec5 (patch)
treeef588e7ae6817ec664fdc35b47c7c99fc07329d2 /compiler-rt/lib/profile/InstrProfilingBuffer.c
parenteadaf84e78ed2d6fa46d7c2cbc75b7f7a0068b4d (diff)
downloadbcm5719-llvm-ab94e71dc6ee7a1a0143f2313c4426ca83546ec5.tar.gz
bcm5719-llvm-ab94e71dc6ee7a1a0143f2313c4426ca83546ec5.zip
Fix a bug introduced in cleanup
llvm-svn: 253847
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingBuffer.c')
-rw-r--r--compiler-rt/lib/profile/InstrProfilingBuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingBuffer.c b/compiler-rt/lib/profile/InstrProfilingBuffer.c
index 4f841268757..295be690e4a 100644
--- a/compiler-rt/lib/profile/InstrProfilingBuffer.c
+++ b/compiler-rt/lib/profile/InstrProfilingBuffer.c
@@ -55,7 +55,7 @@ static uint32_t bufferWriter(ProfDataIOVec *IOVecs, uint32_t NumIOVecs,
return 0;
}
-LLVM_LIBRARY_VISIBILITY
+LLVM_LIBRARY_VISIBILITY int
__llvm_profile_write_buffer(char *Buffer) {
return llvmWriteProfData(bufferWriter, Buffer, 0, 0);
}
OpenPOWER on IntegriCloud