From 84428dafc0941e3a31303fa1b286835ab2b8e234 Mon Sep 17 00:00:00 2001 From: Alexis Engelke Date: Thu, 20 Jun 2024 11:23:19 +0000 Subject: [PATCH] [MC] Fix compilation --- llvm/lib/MC/MCContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp index 729e8daea640..bb87682dd216 100644 --- a/llvm/lib/MC/MCContext.cpp +++ b/llvm/lib/MC/MCContext.cpp @@ -325,7 +325,7 @@ MCSymbol *MCContext::createBlockSymbol(const Twine &Name, bool AlwaysEmit) { bool IsTemporary = !SaveTempLabels; if (IsTemporary && !UseNamesOnTempLabels) return createSymbolImpl(nullptr, IsTemporary); - return createRenamableSymbol(MAI->getPrivateLabelPrefix() << Name, + return createRenamableSymbol(MAI->getPrivateLabelPrefix() + Name, /*AlwaysAddSuffix=*/false, IsTemporary); }