[PATCH] D34692: [LLD][ELF] Add support for multiple passes to createThunks()
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 4 21:54:17 PDT 2017
smeenai added inline comments.
================
Comment at: ELF/Relocations.cpp:975
+//
+// Thunks (sometimes called stubs or veneers) are small pieces of code that the
+// linker inserts inbetween a caller and a callee. The thunks are added at link
----------------
I believe "branch islands" is a pretty common term as well.
================
Comment at: ELF/Relocations.cpp:982
+// It is straightforward to tell given the current state of the program when a
+// thunk is needed for a particular call . The more difficult part is that
+// the thunk needs to be placed in the program such that the caller can reach
----------------
Space before .
https://reviews.llvm.org/D34692
More information about the llvm-commits
mailing list