HomePhabricator

disassemble command: fix error message when disassembly fails

Authored by labath on Sep 4 2019, 6:26 AM.

Description

disassemble command: fix error message when disassembly fails

We were printing the start_addr field, which is not correct, as in this
branch we are processing the memory described by cur_range. Print that
instead.

Ideally, in particular this case, the error message would also say
something about not being able to disassemble due to not having found
the module from the core file, but that is not easy to do right now, so
I'm leaving that for another time.

llvm-svn: 370898

Details

Committed
labathSep 4 2019, 6:26 AM
Parents
rGf1b3cd6c9087: [clangd] Add TUScheduler.h to CodeComplete.cpp to unbreak builds
Branches
Unknown
Tags
Unknown