Skip to content

Commit 00bfde7

Browse files
committed
[NFC][CSSPGO]llvm-profge] Fix Build warning dueo to an attrbute usage.
1 parent 64716b2 commit 00bfde7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/llvm-profgen/PerfReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ struct HybridSample : public PerfSample {
212212
}
213213

214214
#ifndef NDEBUG
215-
__attribute__((used)) void print() const {
215+
void print() const {
216216
dbgs() << "LBR stack\n";
217217
printLBRStack(LBRStack);
218218
dbgs() << "Call stack\n";

0 commit comments

Comments
 (0)