summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-05-16 00:38:00 +0000
committerJustin Bogner <mail@justinbogner.com>2014-05-16 00:38:00 +0000
commita119f323446b0655ad59e3a24488ea5ff375aa71 (patch)
tree25ca584c2a8b3866dc7c39ef1b8dd64a63799afe /clang/lib
parentc21d3d5f90f985ee7df5ceed11d2a6035628ce54 (diff)
downloadbcm5719-llvm-a119f323446b0655ad59e3a24488ea5ff375aa71.tar.gz
bcm5719-llvm-a119f323446b0655ad59e3a24488ea5ff375aa71.zip
ProfileData: Allow multiple profiles in RawInstrProfReader
Allow multiple raw profiles to coexist in a single .profraw file, given the following conditions: - Zero padding at the end of or between profiles will be skipped. - Each profile must start with a valid header. - Mixing endianness or pointer sizes in concatenated profiles files is not allowed. This is needed to handle cases where a program's shared libraries are profiled as well as the main executable itself, as we'll need to emit each executable's counters. Combining the tables in the runtime would be expensive for the instrumented program. rdar://16918688 llvm-svn: 208938
Diffstat (limited to 'clang/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud