[PATCH] D143708: [RISCV] Support emulated TLS

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 21 07:31:34 PST 2023


jrtc27 added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/emutls_generic.ll:54
+; RISCV_64-NOT:   __emutls_v.external_x:
+; RISCV_64:        .data{{$}}
+; RISCV_64:        .globl __emutls_v.external_y
----------------
vit9696 wrote:
> jrtc27 wrote:
> > Why does the lack of a suffix matter? Seems a bit odd to pick this specifically.
> This is because for non-emutls symbols are generated in .data.symbolname sections.
No they're not, real TLS symbols are in .tdata/.tbss


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143708/new/

https://reviews.llvm.org/D143708



More information about the llvm-commits mailing list