diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-07-14 22:20:12 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-07-14 22:20:12 +0000 |
| commit | 331eff3995c16e2080222b61063122aa9021e404 (patch) | |
| tree | b44363b9e4a7c981b419fd9558acc4253d30df8d /llvm/lib/MC/MCDisassembler/Disassembler.cpp | |
| parent | cbd3bb27d7fcfcfbb0e06f8cf6114976d9548ede (diff) | |
| download | llvm-331eff3995c16e2080222b61063122aa9021e404.zip llvm-331eff3995c16e2080222b61063122aa9021e404.tar.gz llvm-331eff3995c16e2080222b61063122aa9021e404.tar.bz2 | |
Fixed a crasher where entering 'help disasm' on the command line would crash lldb.
The reasom of the crash is because of a missing entry in the argument table corresponding to eArgTypeUnsignedInteger.
Add such entry and modify the call site of the crash to go through a fail-fast API to retrieve the argument table.
Add a regression test to TestHelp.py.
llvm-svn: 135206
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions
