We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c09916 commit d18b4f8Copy full SHA for d18b4f8
bolt/lib/Core/Exceptions.cpp
@@ -398,8 +398,8 @@ void BinaryFunction::updateEHRanges() {
398
399
// Same symbol is used for the beginning and the end of the range.
400
MCSymbol *EHSymbol;
401
- if (auto InstrLabel = BC.MIB->getLabel(Instr)) {
402
- EHSymbol = *InstrLabel;
+ if (MCSymbol *InstrLabel = BC.MIB->getLabel(Instr)) {
+ EHSymbol = InstrLabel;
403
} else {
404
std::unique_lock<llvm::sys::RWMutex> Lock(BC.CtxMutex);
405
EHSymbol = BC.Ctx->createNamedTempSymbol("EH");
0 commit comments