runAsMain() may fail for function-specific reasons (e.g. provided pointer to main is invalid). There should be a way to propagate such in-band errors back to the controller.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Passing a valid function address is the responsibility of the user and laying out argv correctly is an ABI detail. If anything like this fails, we probably have to hang up anyway and send the error with that D111527.