In ELF, __tls_get_addr used by general-dynamic/local-dynamic TLS models is a
regular function with C calling convention. Scratch reginsters don't need to be
saved, because the caller will do the right thing.
Details
Details
- Reviewers
lhames MoritzS StephenFan
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Hi MaskRay -- The assembly files are placeholders until we have a chance to implement the scheme in https://llvm.org/PR51820. I'd prefer to keep them around for now as scaffolding: they serve as proof-of-concept assembly source components of the ORC runtime (exercising the build system), and a convenient jumping-off point for anyone who might get to https://llvm.org/PR51820 before I do.