Skip to content

Commit

Permalink
Revert "Make two texts static in ReplayInlineAdvisor" (#82071)
Browse files Browse the repository at this point in the history
Reverts #79489

We know that the issues was with asan/annotations. We can revert it.
  • Loading branch information
vitalybuka authored Apr 1, 2024
1 parent fd38366 commit 2bfb19e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Analysis/ReplayInlineAdvisor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ ReplayInlineAdvisor::ReplayInlineAdvisor(
// main:3:1.1;
// We use the callsite string after `at callsite` to replay inlining.
line_iterator LineIt(*BufferOrErr.get(), /*SkipBlanks=*/true);
static const std::string PositiveRemark = "' inlined into '";
static const std::string NegativeRemark = "' will not be inlined into '";
const std::string PositiveRemark = "' inlined into '";
const std::string NegativeRemark = "' will not be inlined into '";

for (; !LineIt.is_at_eof(); ++LineIt) {
StringRef Line = *LineIt;
Expand Down

0 comments on commit 2bfb19e

Please sign in to comment.