You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Pablo Sichert (Jira)" <ji...@apache.org> on 2021/07/22 04:34:00 UTC

[jira] [Created] (ARROW-13426) [C++][Gandiva] Use platform pointer sizes in code generation

Pablo Sichert created ARROW-13426:
-------------------------------------

             Summary: [C++][Gandiva] Use platform pointer sizes in code generation
                 Key: ARROW-13426
                 URL: https://issues.apache.org/jira/browse/ARROW-13426
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++, C++ - Gandiva
            Reporter: Pablo Sichert


Currently, the JIT code generation / function invocation in Gandiva uses `int64` for pointer types.

This breaks especially when indexing into pointers to pointers on platforms where the pointer size is not 64 bit wide.

To represent opaque pointers, void* (or i8* in LLVM) should be used where suitable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)