diff options
author | Xinliang David Li <davidxl@google.com> | 2015-11-02 05:08:23 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2015-11-02 05:08:23 +0000 |
commit | 2004f003b6de0f32a6b50b5758292d0be6e73367 (patch) | |
tree | 395f60c02875b8fdfc2031c125034681dfa9868f /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | 52bfa0faa4b187b8f3ce936f2803420e509552d7 (diff) | |
download | bcm5719-llvm-2004f003b6de0f32a6b50b5758292d0be6e73367.tar.gz bcm5719-llvm-2004f003b6de0f32a6b50b5758292d0be6e73367.zip |
[PGO] Value profiling (index format) code cleanup and testing
1. Added a set of public interfaces in InstrProfRecord
class to access (read/write) value profile data.
2. Changed IndexedProfile reader and writer code to
use the newly defined interfaces and hide implementation
details.
3. Added a couple of unittests for value profiling:
- Test new interfaces to get and set value profile data
- Test value profile data merging with various scenarios.
No functional change is expected. The new interfaces will also
make it possible to change on-disk format of value prof data
to be more compact (to be submitted).
llvm-svn: 251771
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions