X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FProfileData%2FInstrProfWriter.h;h=6e68bee30eb8ad15f39efa0a15dfa924db9d3fc8;hb=5c792faa0e5560bc148c973f3df658eb3bb2061e;hp=fa37bf116d7dc7acec0c551653674acbec0770c7;hpb=e153fb33e49bd6d44189d3659287338c410bc0ce;p=oota-llvm.git diff --git a/include/llvm/ProfileData/InstrProfWriter.h b/include/llvm/ProfileData/InstrProfWriter.h index fa37bf116d7..6e68bee30eb 100644 --- a/include/llvm/ProfileData/InstrProfWriter.h +++ b/include/llvm/ProfileData/InstrProfWriter.h @@ -38,8 +38,9 @@ public: /// Add function counts for the given function. If there are already counts /// for this function and the hash and number of counts match, each counter is /// summed. - error_code addFunctionCounts(StringRef FunctionName, uint64_t FunctionHash, - ArrayRef Counters); + std::error_code addFunctionCounts(StringRef FunctionName, + uint64_t FunctionHash, + ArrayRef Counters); /// Ensure that all data is written to disk. void write(raw_fd_ostream &OS); };