diff options
author | Vedant Kumar <vsk@apple.com> | 2017-12-14 19:01:04 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2017-12-14 19:01:04 +0000 |
commit | ccb69d9a1231219ec7e7962743b3ab1ee3122b65 (patch) | |
tree | 0643c7b2d3de82ac7423cefe53921e7d622f1fdc /lib/profile/InstrProfilingWriter.c | |
parent | 12e90365ed9cce1179df68586af3ec9d83bb0316 (diff) |
[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
Diffstat (limited to 'lib/profile/InstrProfilingWriter.c')
-rw-r--r-- | lib/profile/InstrProfilingWriter.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/profile/InstrProfilingWriter.c b/lib/profile/InstrProfilingWriter.c index d4c9b9bd6..7c6061d2c 100644 --- a/lib/profile/InstrProfilingWriter.c +++ b/lib/profile/InstrProfilingWriter.c @@ -7,14 +7,15 @@ |* \*===----------------------------------------------------------------------===*/ -#include "InstrProfiling.h" -#include "InstrProfilingInternal.h" #ifdef _MSC_VER /* For _alloca */ #include <malloc.h> #endif #include <string.h> +#include "InstrProfiling.h" +#include "InstrProfilingInternal.h" + #define INSTR_PROF_VALUE_PROF_DATA #include "InstrProfData.inc" |