[all-commits] [llvm/llvm-project] a8cb9d: [SystemZ] Use proper relocation for TLS variable d...

Ulrich Weigand via All-commits all-commits at lists.llvm.org
Tue Mar 5 08:48:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8cb9db5f59dc97c9b3d0370a5879539e7b233d8
      https://github.com/llvm/llvm-project/commit/a8cb9db5f59dc97c9b3d0370a5879539e7b233d8
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

  Changed paths:
    M llvm/lib/Target/SystemZ/CMakeLists.txt
    M llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
    A llvm/lib/Target/SystemZ/SystemZTargetObjectFile.cpp
    A llvm/lib/Target/SystemZ/SystemZTargetObjectFile.h

  Log Message:
  -----------
  [SystemZ] Use proper relocation for TLS variable debug info (#83975)

Debug info refering to a TLS variable via DW_OP_GNU_push_tls_address
needs to use a R_390_TLS_LDO64 relocation instead of R_390_64.

Fixed by adding a SystemZELFTargetObjectFile override class and proving
a getDebugThreadLocalSymbol implementation.



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