instrument for libc.so (arm64) failed due to need DT_FINI or DT_FINI_ARRAY
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
i want to bolt instrument for libc.so (arm64) ,but failed
llvm-bolt libc.so.6 --instrument -o libc.bolt.so.6
BOLT-INFO: shared object or position-independent executable detected
BOLT-INFO: Target architecture: aarch64
BOLT-INFO: BOLT version: 6abb6264ea5577071dc5ac9e289dd1660553ad39
BOLT-INFO: first alloc address is 0x0
BOLT-INFO: creating new program header table at address 0x200000, offset 0x200000
BOLT-WARNING: debug info will be stripped from the binary. Use -update-debug-sections to keep it.
BOLT-INFO: enabling relocation mode
BOLT-INFO: forcing -jump-tables=move for instrumentation
./../../llvmori/build/bin/llvm-bolt: 'libc.so.6': Instrumentation needs either DT_FINI or DT_FINI_ARRAY.
Contributor guide
Assessment
This issue has not been assessed yet.