diff options
author | Yaron Keren <yaron.keren@gmail.com> | 2016-01-29 20:50:44 +0000 |
---|---|---|
committer | Yaron Keren <yaron.keren@gmail.com> | 2016-01-29 20:50:44 +0000 |
commit | eb2a25467e9ff2ef1976924957c0dfa31bda9e03 (patch) | |
tree | c32c7925dbf37ea245a5e7b8b9028df73620a0e8 /llvm/lib/ProfileData/SampleProf.cpp | |
parent | deec50a3d2339af731b42b5c9f7308f861acae5f (diff) | |
download | bcm5719-llvm-eb2a25467e9ff2ef1976924957c0dfa31bda9e03.tar.gz bcm5719-llvm-eb2a25467e9ff2ef1976924957c0dfa31bda9e03.zip |
Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment.
clang part in r259232, this is the LLVM part of the patch.
llvm-svn: 259240
Diffstat (limited to 'llvm/lib/ProfileData/SampleProf.cpp')
-rw-r--r-- | llvm/lib/ProfileData/SampleProf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/ProfileData/SampleProf.cpp b/llvm/lib/ProfileData/SampleProf.cpp index 9ded757f2b2..5a69bb91f23 100644 --- a/llvm/lib/ProfileData/SampleProf.cpp +++ b/llvm/lib/ProfileData/SampleProf.cpp @@ -71,14 +71,14 @@ raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, return OS; } -void LineLocation::dump() const { print(dbgs()); } +LLVM_DUMP_METHOD void LineLocation::dump() const { print(dbgs()); } void CallsiteLocation::print(raw_ostream &OS) const { LineLocation::print(OS); OS << ": inlined callee: " << CalleeName; } -void CallsiteLocation::dump() const { print(dbgs()); } +LLVM_DUMP_METHOD void CallsiteLocation::dump() const { print(dbgs()); } inline raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, const CallsiteLocation &Loc) { @@ -97,7 +97,7 @@ void SampleRecord::print(raw_ostream &OS, unsigned Indent) const { OS << "\n"; } -void SampleRecord::dump() const { print(dbgs(), 0); } +LLVM_DUMP_METHOD void SampleRecord::dump() const { print(dbgs(), 0); } raw_ostream &llvm::sampleprof::operator<<(raw_ostream &OS, const SampleRecord &Sample) { |