HomePhabricator

[ORC] Fix argv handling in runAsMain / lli.

Authored by lhames on Jan 11 2020, 12:58 PM.

Description

[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.

Details

Committed
lhamesJan 11 2020, 1:03 PM
Parents
rGa1f16998f371: [Support] Optionally call signal handlers when a function wrapped by the theā€¦
Branches
Unknown
Tags
Unknown