We load multiple copies of the trampolines into memory when instrumenting DSOs. Hidden visibility prevents conflicts in this scenario.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
I haven't studied these tranpolines yet but it is correct to use hidden visibility on ELF (no-op on Mach-O). This can avoid PLT entries for shared objects.