Ismail Donmez
7bf46bfcdf
Fix build with VS2015
...
llvm-svn: 259301
2016-01-30 07:14:31 +00:00
Vedant Kumar
a06e8ca6c5
[profile] Support hostname expansion in LLVM_PROFILE_FILE
...
This patch adds support for expanding "%h" out to the machine hostname
in the LLVM_PROFILE_FILE environment variable.
Patch by Daniel Waters!
Differential Revision: http://reviews.llvm.org/D16371
llvm-svn: 259272
2016-01-29 23:52:11 +00:00
Xinliang David Li
ec8d086c64
Minor cleanup /NFC
...
llvm-svn: 259068
2016-01-28 18:37:43 +00:00
Vedant Kumar
750a629555
[profile] Add comments to portability macros for readability (NFC)
...
llvm-svn: 257126
2016-01-08 00:49:34 +00:00
Xinliang David Li
3e0e6e75d7
[PGO]: Eliminate custom typedefs in the FreeBSD case
...
Patch by: Sean Bruno
Use o/s provided sys/types.h to bring in Profiling types.
Differential Revision: http://reviews.llvm.org/D15088
llvm-svn: 256647
2015-12-30 19:18:55 +00:00
Xinliang David Li
d1c84b078a
[PGO] testing _WIN64 instead of _WIN32
...
llvm-svn: 256129
2015-12-20 19:55:15 +00:00
Xinliang David Li
f82944db76
[PGO] Implement BOOL_CMPXCHG for Windows
...
llvm-svn: 256128
2015-12-20 19:11:44 +00:00
Xinliang David Li
01d06100dd
Fix typo in MSC path
...
llvm-svn: 255938
2015-12-17 23:37:30 +00:00
Xinliang David Li
abfd553c2b
[PGO] cleanup: unify prefix for portability macros
...
llvm-svn: 255748
2015-12-16 03:29:15 +00:00
Xinliang David Li
1fbae3b76a
[PGO] Improve prof library portability
...
Patch by: Johan Engelen
Introduce LLVM_LIBRARY_WEAK macro. Define LLVM_LIBRARY_WEAK
and LLVM_LIBRARY_VISIBIITY for MSVC
llvm-svn: 255688
2015-12-15 22:38:18 +00:00
Xinliang David Li
497c51cb8a
[PGO] Move impl specific decl to InstrProfilingInternal.h (NFC)
...
llvm-svn: 255290
2015-12-10 19:50:04 +00:00
Xinliang David Li
e8c18a1bd1
[PGO] Move target-dependent macro to InstrProfilingPort.h (NFC)
...
llvm-svn: 255285
2015-12-10 19:20:25 +00:00
Xinliang David Li
26bcd193a8
[PGO] Header file cleanup (NFC)
...
InstrProfiling.h file declares profile runtime public APIs.
It has become a dumping place for many different things, which
needs cleanups. In this change, core type declarations and
portability macros are moved to a new file InstrProfilingPort.h.
llvm-svn: 255270
2015-12-10 18:17:01 +00:00