diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-04-18 21:48:40 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-04-18 21:48:40 +0000 |
commit | b7aa26303b841bdf097a9dd4fd4e137e6b9b121b (patch) | |
tree | 1c1b116857652606ff440bc01d60901d1e90766f /llvm/lib/ProfileData/InstrProf.cpp | |
parent | 9f5eb637cb1758a5efa38845f4ce9c5f600dd99b (diff) | |
download | bcm5719-llvm-b7aa26303b841bdf097a9dd4fd4e137e6b9b121b.tar.gz bcm5719-llvm-b7aa26303b841bdf097a9dd4fd4e137e6b9b121b.zip |
ProfileData: Add support for the indexed instrprof format
This adds support for an indexed instrumentation based profiling
format, which is just a small header and an on disk hash table. This
format will be used by clang's -fprofile-instr-use= for PGO.
llvm-svn: 206656
Diffstat (limited to 'llvm/lib/ProfileData/InstrProf.cpp')
-rw-r--r-- | llvm/lib/ProfileData/InstrProf.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/ProfileData/InstrProf.cpp b/llvm/lib/ProfileData/InstrProf.cpp index 850f61354e3..2eca8b2045e 100644 --- a/llvm/lib/ProfileData/InstrProf.cpp +++ b/llvm/lib/ProfileData/InstrProf.cpp @@ -33,6 +33,8 @@ class InstrProfErrorCategoryType : public error_category { return "Invalid header"; case instrprof_error::unsupported_version: return "Unsupported format version"; + case instrprof_error::unsupported_hash_type: + return "Unsupported hash function"; case instrprof_error::too_large: return "Too much profile data"; case instrprof_error::truncated: |