pitrou commented on PR #41128:
URL: https://github.com/apache/arrow/pull/41128#issuecomment-2048004896
Interestingly, the binary wheels built in the Crossbow builds above use a
slightly indirection code:
```
0000000001476850
<_ZN5arrow18BaseMemoryPoolImplINS_12_GLOBAL__N_117MimallocAllocatorEE4FreeEPhll>:
1476850: 55 push %rbp
1476851: 48 89 d5 mov %rdx,%rbp
1476854: 53 push %rbx
1476855: 48 89 fb mov %rdi,%rbx
1476858: 48 83 ec 08 sub $0x8,%rsp
147685c: 48 3b 35 05 5c 9d 01 cmp 0x19d5c05(%rip),%rsi #
2e4c468 <_ZN5arrow11memory_pool8internal14zero_size_areaE@@Base-0x10898>
1476863: 74 08 je 147686d
<_ZN5arrow18BaseMemoryPoolImplINS_12_GLOBAL__N_117MimallocAllocatorEE4FreeEPhll+0x1d>
1476865: 48 89 f7 mov %rsi,%rdi
1476868: e8 13 56 02 ff call 49be80 <arrow_mi_free@plt>
147686d: f0 48 29 6b 48 lock sub %rbp,0x48(%rbx)
1476872: 48 83 c4 08 add $0x8,%rsp
1476876: 5b pop %rbx
1476877: 5d pop %rbp
1476878: c3 ret
```
I've checked that `LD_PRELOAD` still works to interpose these functions
(`arrow_mi_free` etc.).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]