This is a followup for D83129.
It is possible to make getStaticSymbolName report warnings inside
and return the "<?>" on an error. This allows to encapsulate errors handling
and slightly simplifies the logic in callers code.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM.
| llvm/tools/llvm-readobj/ELFDumper.cpp | ||
|---|---|---|
| 1135 | Either simply Warn or ReportWarning, I think. | |
Either simply Warn or ReportWarning, I think.