[all-commits] [llvm/llvm-project] 2ada0c: [AArch64] Move fixELFSymbolsInTLSFixups to getRelo...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Mar 15 00:11:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ada0c1e6163502a8b3fd6485c290eca26ce8748
      https://github.com/llvm/llvm-project/commit/2ada0c1e6163502a8b3fd6485c290eca26ce8748
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-03-15 (Sat, 15 Mar 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h

  Log Message:
  -----------
  [AArch64] Move fixELFSymbolsInTLSFixups to getRelocType

fixELFSymbolsInTLSFixups walks the expression tree, which is complex and
unnecessary. As the expression must be relocatable, we can move the code
to getRelocType and just set SymA.



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