From ab94e71dc6ee7a1a0143f2313c4426ca83546ec5 Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Mon, 23 Nov 2015 05:16:28 +0000 Subject: [PATCH] Fix a bug introduced in cleanup llvm-svn: 253847 --- compiler-rt/lib/profile/InstrProfilingBuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/profile/InstrProfilingBuffer.c b/compiler-rt/lib/profile/InstrProfilingBuffer.c index 4f841268757a..295be690e4a2 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); }