[PATCH] D15830: [PGO] Enable instrprof on Windows

Nathan Slingerland via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 30 13:54:57 PST 2015


slingn created this revision.
slingn added reviewers: davidxl, dnovillo.
slingn added a subscriber: llvm-commits.

This change configures Windows builds to build the complier-rt profile support library (clang_rt.profile-i386.lib) and to pass the library path at link-time when -fprofile-instr-generate is used. Windows API incompatibilities in the compiler-rt profile lib are also fixed.

http://reviews.llvm.org/D15830

Files:
  cmake/config-ix.cmake
  lib/profile/GCDAProfiling.c
  lib/profile/InstrProfilingFile.c
  lib/profile/mmap-windows.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15830.43807.patch
Type: text/x-patch
Size: 5636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151230/bca33a85/attachment.bin>


More information about the llvm-commits mailing list