From ccb69d9a1231219ec7e7962743b3ab1ee3122b65 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Thu, 14 Dec 2017 19:01:04 +0000 Subject: [profile] Port the runtime to Solaris (retry) This includes a few nice bits of refactoring (e.g splitting out the exclusive locking code into a common utility). Hopefully the Windows support is fixed now. Patch by Rainer Orth! Differential Revision: https://reviews.llvm.org/D40944 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@320731 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/profile/InstrProfilingValue.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/profile/InstrProfilingValue.c') diff --git a/lib/profile/InstrProfilingValue.c b/lib/profile/InstrProfilingValue.c index 4bc7bb601..3db0de8a6 100644 --- a/lib/profile/InstrProfilingValue.c +++ b/lib/profile/InstrProfilingValue.c @@ -7,13 +7,15 @@ |* \*===----------------------------------------------------------------------===*/ -#include "InstrProfiling.h" -#include "InstrProfilingInternal.h" -#include "InstrProfilingUtil.h" /* For PS4 getenv shim. */ #include #include #include #include + +#include "InstrProfiling.h" +#include "InstrProfilingInternal.h" +#include "InstrProfilingUtil.h" + #define INSTR_PROF_VALUE_PROF_DATA #define INSTR_PROF_COMMON_API_IMPL #include "InstrProfData.inc" -- cgit v1.2.3