This fixes an issue where mixed TOC / NOTOC calls can call the incorrect
thunks if a previous thunk already exists. The issue appears when a TOC
funciton calls a NOTOC callee and then a different NOTOC function calls the same
NOTOC callee. In this case the linker would sometimes incorrectly call the
same thunk for both cases.
Details
Details
- Reviewers
NeHuang nemanjai MaskRay - Group Reviewers
Restricted Project - Commits
- rGf0adf3a24cde: [PowerPC][LLD] Make sure that the correct Thunks are used.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Cleanup of test case.
Added *.s to assembly files.
Added -LABEL and -NEXT to checks.
Removed empty line at end of test.
Use -LABEL for the function label line