When run under llvm-mc-disassemble-fuzzer, there is no symbol lookup callback so tryAddingSymbolicOperand() must fail gracefully instead of crashing
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
This seems like an obvious fix but I don't know whether it was deliberately or accidentally mandatory.
@aemerson: Are you aware of any reasons it was mandatory?
Comment Actions
Looks like Lang added the original code, but LGTM anyway. I even think we did this exact change downstream a few years ago at ARM...