[PATCH] D16371: [compiler-rt/profile] Added Hostname to .profdata file

Daniel Waters via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 15:16:54 PST 2016


grotdunst updated this revision to Diff 46317.
grotdunst added a comment.

This diff substitutes #ifdef COMPILER_RT_HOSTNAME for #ifndef _MSC_VER.

> Second, can't uname be used directly in place of %h in your lit test?


This patch adds support for expanding %h and so it must be used in the test.


http://reviews.llvm.org/D16371

Files:
  lib/profile/InstrProfilingFile.c
  lib/profile/InstrProfilingPort.h
  test/profile/instrprof-hostname.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16371.46317.patch
Type: text/x-patch
Size: 3494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160128/691c519f/attachment.bin>


More information about the llvm-commits mailing list