aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-mc/Disassembler.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-07-14 22:20:12 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-07-14 22:20:12 +0000
commit331eff3995c16e2080222b61063122aa9021e404 (patch)
treeb44363b9e4a7c981b419fd9558acc4253d30df8d /llvm/tools/llvm-mc/Disassembler.cpp
parentcbd3bb27d7fcfcfbb0e06f8cf6114976d9548ede (diff)
downloadllvm-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/tools/llvm-mc/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions