commit | 50de4fb2b26ec1f8c2bcf6fdad5ff6d87029e0e5 | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Sun Sep 18 17:47:12 2022 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Sep 18 18:06:40 2022 -0700 |
tree | ba0c9c5881cdab80133ee72c6a005c8ed49a9197 | |
parent | f08c0d818a8c3674d322dd990f2a309689b599ef [diff] |
[ORC][ORC-RT] Make WrapperFunctionCall::Create support void functions. Serialized calls to void-wrapper-functions should have zero bytes of argument data, but accessing ArgData[0] may (and will, in the case of SmallVector) fail if the argument data buffer is empty. This commit fixes the issue by adding a check for empty argument buffers. GitOrigin-RevId: 0e43f3b04d527776458df7aa1d7ce1787ff0b32f