| Issue |
160841
|
| Summary |
instrument for libc.so (arm64) failed due to need DT_FINI or DT_FINI_ARRAY
|
| Labels |
libc
|
| Assignees |
|
| Reporter |
zhouyu0502
|
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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs