[PATCH] D21219: [profile] Cleanup profile file path set up code
David Li via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 9 23:31:10 PDT 2016
davidxl created this revision.
davidxl added a reviewer: vsk.
davidxl added a subscriber: llvm-commits.
Consolidate the logic (scattered in multiple different places) into one function. Also added note messages to make it more friendly to the user (e.g. debugging problem that the profile is not dumped in a place expected ..)
Regression tests were added to ensure no behavioral change.
http://reviews.llvm.org/D21219
Files:
lib/profile/InstrProfilingFile.c
lib/profile/InstrProfilingPort.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21219.60315.patch
Type: text/x-patch
Size: 5243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160610/b9b0ca9d/attachment.bin>
More information about the llvm-commits
mailing list