Using the proper API automatically sets __stack_chk_guard to dso_local if
Reloc::Static. This wasn't strictly necessary until recently when dso_local was
no longer implied by TargetMachine::shouldAssumeDSOLocal for
__stack_chk_guard. By using the proper API, we can avoid generating unnecessary
GOT relocations.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Any more comments? I'll probably wait a few more days before committing the change in case anyone hasn't got a chance to review.