diff options
author | Lang Hames <lhames@gmail.com> | 2020-01-11 12:58:38 -0800 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2020-01-11 13:03:38 -0800 |
commit | 2cdb18afda841392002feafda21af31854c195b3 (patch) | |
tree | a3282082b1a69db4838dfdf4333b171dcfbd0a2a /llvm/lib/MC/MCDisassembler/Disassembler.cpp | |
parent | a1f16998f371870ca4da8b3c00a093c607a36ddd (diff) | |
download | bcm5719-llvm-2cdb18afda841392002feafda21af31854c195b3.tar.gz bcm5719-llvm-2cdb18afda841392002feafda21af31854c195b3.zip |
[ORC] Fix argv handling in runAsMain / lli.
This fixes an off-by-one error in the argc value computed by runAsMain, and
switches lli back to using the input bitcode (rather than the string "lli") as
the effective program name.
Thanks to Stefan Graenitz for spotting the bug.
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions