[all-commits] [llvm/llvm-project] c4a6fe: [lld][LoongArch] Handle DTPREL relocations in debu...

hev via All-commits all-commits at lists.llvm.org
Fri May 29 07:25:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4a6fe766e2fe71d478efc9652f45abec8ce5abb
      https://github.com/llvm/llvm-project/commit/c4a6fe766e2fe71d478efc9652f45abec8ce5abb
  Author: hev <wangrui at loongson.cn>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M lld/ELF/Arch/LoongArch.cpp
    A lld/test/ELF/loongarch-tls-dtprel.s

  Log Message:
  -----------
  [lld][LoongArch] Handle DTPREL relocations in debug sections (#199327)

Teach the LoongArch lld backend to classify R_LARCH_TLS_DTPREL32 and
R_LARCH_TLS_DTPREL64 as R_DTPREL.

This allows linker processing of TLS debug info references emitted into
.debug_info via .dtprelword/.dtpreldword. Add 32-bit and 64-bit tests
that assemble objects with DTPREL relocations in debug sections.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list