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 183b380 commit b6cfa02Copy full SHA for b6cfa02
bolt/lib/Core/Exceptions.cpp
@@ -500,7 +500,7 @@ bool CFIReaderWriter::fillCFIInfoFor(BinaryFunction &Function) const {
500
501
const FDE &CurFDE = *I->second;
502
std::optional<uint64_t> LSDA = CurFDE.getLSDAAddress();
503
- Function.setLSDAAddress(LSDA ? *LSDA : 0);
+ Function.setLSDAAddress(LSDA.value_or(0));
504
505
uint64_t Offset = Function.getFirstInstructionOffset();
506
uint64_t CodeAlignment = CurFDE.getLinkedCIE()->getCodeAlignmentFactor();
0 commit comments