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.
2 parents 8d270d7 + b6cfa02 commit 74107e6Copy full SHA for 74107e6
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