[llvm] WIP: [Bolt] Add support for DT_INIT_ARRAY (PR #153196)

via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 15 01:38:57 PDT 2025


zhouyu0502 wrote:

hello i have come across a similar question . 
I want to bolt instrument for libc.so.6 (aarch64) 
it seems success but when run bin with intrumented libc.so.6, it did not exe **_bolt_instr_start()** which is in e_entry
i think it is because my libc.so.6  have no **DT_INIT**  and have **HasInterpHeader** at the same time 
how can i fix this ?
OLT-INFO: shared object or position-independent executable detected
BOLT-INFO: Target architecture: aarch64
BOLT-INFO: BOLT version: 6abb6264ea5577071dc5ac9e289dd1660553ad39
> 




https://github.com/llvm/llvm-project/pull/153196


More information about the llvm-commits mailing list