diff options
author | Xinliang David Li <davidxl@google.com> | 2015-11-23 05:16:28 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2015-11-23 05:16:28 +0000 |
commit | 4eb07a46b06bad690452b3777b9dbfc57df1d703 (patch) | |
tree | c8d6184896d2519c407813e20ff15552b1714374 /lib/profile | |
parent | c507191b72eb2ecd965a38b1805a349b5b227ee9 (diff) |
Fix a bug introduced in cleanup
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile')
-rw-r--r-- | lib/profile/InstrProfilingBuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profile/InstrProfilingBuffer.c b/lib/profile/InstrProfilingBuffer.c index 4f8412687..295be690e 100644 --- a/lib/profile/InstrProfilingBuffer.c +++ b/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); } |