Skip to content

Commit 2bfb19e

Browse files
authored
Revert "Make two texts static in ReplayInlineAdvisor" (#82071)
Reverts #79489 We know that the issues was with asan/annotations. We can revert it.
1 parent fd38366 commit 2bfb19e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Analysis/ReplayInlineAdvisor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ ReplayInlineAdvisor::ReplayInlineAdvisor(
4343
// main:3:1.1;
4444
// We use the callsite string after `at callsite` to replay inlining.
4545
line_iterator LineIt(*BufferOrErr.get(), /*SkipBlanks=*/true);
46-
static const std::string PositiveRemark = "' inlined into '";
47-
static const std::string NegativeRemark = "' will not be inlined into '";
46+
const std::string PositiveRemark = "' inlined into '";
47+
const std::string NegativeRemark = "' will not be inlined into '";
4848

4949
for (; !LineIt.is_at_eof(); ++LineIt) {
5050
StringRef Line = *LineIt;

0 commit comments

Comments
 (0)