[PATCH] D77289: [Object] Fix crash caused by unhandled error.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 1 23:57:48 PDT 2020
MaskRay added inline comments.
================
Comment at: llvm/include/llvm/Object/ELFObjectFile.h:629
+ if (auto DotSymtabSecSymsOrErr = EF.symbols(DotSymtabSec)) {
+ if (ESym == (*DotSymtabSecSymsOrErr).begin())
+ Result |= SymbolRef::SF_FormatSpecific;
----------------
Use `->` since you are touching this line.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77289/new/
https://reviews.llvm.org/D77289
More information about the llvm-commits
mailing list