mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206656 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -41,7 +41,7 @@ public:
|
||||
error_code addFunctionCounts(StringRef FunctionName, uint64_t FunctionHash,
|
||||
ArrayRef<uint64_t> Counters);
|
||||
/// Ensure that all data is written to disk.
|
||||
void write(raw_ostream &OS);
|
||||
void write(raw_fd_ostream &OS);
|
||||
};
|
||||
|
||||
} // end namespace llvm
|
||||
|
Reference in New Issue
Block a user