summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCDisassembler/Disassembler.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2020-01-11 12:58:38 -0800
committerLang Hames <lhames@gmail.com>2020-01-11 13:03:38 -0800
commit2cdb18afda841392002feafda21af31854c195b3 (patch)
treea3282082b1a69db4838dfdf4333b171dcfbd0a2a /llvm/lib/MC/MCDisassembler/Disassembler.cpp
parenta1f16998f371870ca4da8b3c00a093c607a36ddd (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud