diff options
author | Xinliang David Li <davidxl@google.com> | 2015-11-23 04:38:17 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2015-11-23 04:38:17 +0000 |
commit | c507191b72eb2ecd965a38b1805a349b5b227ee9 (patch) | |
tree | c516a1a96b973872ed91be6c440b052b246b89c1 /lib/profile/InstrProfilingUtil.c | |
parent | 9160d53d5927e5e3dd9642027c038ed0393fed6d (diff) |
[PGO] Compiler-rt cleanup -- introduces macros for various macros
This makes code more readable and be made more portable in the future.
There is no functional change.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile/InstrProfilingUtil.c')
-rw-r--r-- | lib/profile/InstrProfilingUtil.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/profile/InstrProfilingUtil.c b/lib/profile/InstrProfilingUtil.c index e146dfca8..96d1e47d1 100644 --- a/lib/profile/InstrProfilingUtil.c +++ b/lib/profile/InstrProfilingUtil.c @@ -8,6 +8,7 @@ \*===----------------------------------------------------------------------===*/ #include "InstrProfilingUtil.h" +#include "InstrProfiling.h" #ifdef _WIN32 #include <direct.h> @@ -18,7 +19,7 @@ int mkdir(const char*, unsigned short); #include <sys/types.h> #endif -__attribute__((visibility("hidden"))) +LLVM_LIBRARY_VISIBILITY void __llvm_profile_recursive_mkdir(char *path) { int i; |