[PATCH] D109736: [ORC] Remove unneeded __orc_rt_elfnix_tls_get_addr assembly file

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 13 20:41:09 PDT 2021


MaskRay created this revision.
MaskRay added reviewers: lhames, MoritzS, StephenFan.
Herald added subscribers: hiraditya, mgorny.
MaskRay requested review of this revision.
Herald added projects: Sanitizers, LLVM.
Herald added subscribers: llvm-commits, Sanitizers.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109736

Files:
  compiler-rt/lib/orc/CMakeLists.txt
  compiler-rt/lib/orc/elfnix_platform.cpp
  compiler-rt/lib/orc/elfnix_tls.x86-64.S
  llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109736.372394.patch
Type: text/x-patch
Size: 4109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210914/aae584cf/attachment.bin>


More information about the llvm-commits mailing list