From a8e5026dd9886ee7fbe52ebb8226392de0ac97f2 Mon Sep 17 00:00:00 2001 From: Xinliang David Li Date: Wed, 18 Nov 2015 21:11:46 +0000 Subject: Fix format of previous patch (NFC) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253503 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/profile/InstrProfilingFile.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'lib/profile/InstrProfilingFile.c') diff --git a/lib/profile/InstrProfilingFile.c b/lib/profile/InstrProfilingFile.c index 1e2d44be0..c226bfa0c 100644 --- a/lib/profile/InstrProfilingFile.c +++ b/lib/profile/InstrProfilingFile.c @@ -8,8 +8,8 @@ \*===----------------------------------------------------------------------===*/ #include "InstrProfiling.h" -#include "InstrProfilingUtil.h" #include "InstrProfilingInternal.h" +#include "InstrProfilingUtil.h" #include #include #include @@ -21,13 +21,14 @@ static size_t FileWriter(const void *Data, size_t ElmSize, size_t NumElm, void **File) { return fwrite(Data, ElmSize, NumElm, (FILE *)*File); } - uint8_t *ValueDataBegin = NULL; +uint8_t *ValueDataBegin = NULL; static int writeFile(FILE *File) { uint8_t *ValueDataBegin = NULL; - const uint64_t ValueDataSize = __llvm_profile_gather_value_data(&ValueDataBegin); + const uint64_t ValueDataSize = + __llvm_profile_gather_value_data(&ValueDataBegin); int r = llvmWriteProfData(File, ValueDataBegin, ValueDataSize, FileWriter); - free (ValueDataBegin); + free(ValueDataBegin); return r; } -- cgit v1.2.3