[Profile] Implement new API __llvm_profile_dump
authorXinliang David Li <davidxl@google.com>
Tue, 9 Aug 2016 04:21:14 +0000 (04:21 +0000)
committerXinliang David Li <davidxl@google.com>
Tue, 9 Aug 2016 04:21:14 +0000 (04:21 +0000)
commit3b2c002c6d37887e4eb219e7e605d17ba52702d6
tree00fda3b3a2b101d5756718e057a89c40c1a3099f
parent84907c514379acc152a33fb41f2d93c7c39b4c46
[Profile] Implement new API __llvm_profile_dump

The API is intended to be used by user to do fine
grained (per-region) control of profile dumping.

Differential Revision: http://reviews.llvm.org/D23106

llvm-svn: 278092
compiler-rt/lib/profile/InstrProfiling.c
compiler-rt/lib/profile/InstrProfiling.h
compiler-rt/lib/profile/InstrProfilingFile.c
compiler-rt/lib/profile/InstrProfilingInternal.h
compiler-rt/test/profile/instrprof-dump.c [new file with mode: 0644]