Fix a bug introduced in cleanup

llvm-svn: 253847
This commit is contained in:
Xinliang David Li
2015-11-23 05:16:28 +00:00
parent eadaf84e78
commit ab94e71dc6

View File

@@ -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);
}