[PATCH] D49529: [profile] Add interface to get profile filename

Teresa Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 18 20:09:35 PDT 2018


tejohnson created this revision.
tejohnson added a reviewer: davidxl.
Herald added subscribers: Sanitizers, delcypher.

Add __llvm_profile_get_filename interface to get the profile filename,
which can be used for identifying which profile file belongs to an app
when multiple binaries are instrumented and dumping profiles into the
same directory. The filename includes the path.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D49529

Files:
  lib/profile/InstrProfiling.h
  lib/profile/InstrProfilingFile.c
  test/profile/instrprof-get-filename.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49529.156206.patch
Type: text/x-patch
Size: 4146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180719/5df605e0/attachment.bin>


More information about the llvm-commits mailing list