[all-commits] [llvm/llvm-project] 109e70: [TargetMachine] Drop implied dso_local for an edge...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Dec 5 15:52:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 109e70d357284f612fbe69d213b002366dd67927
      https://github.com/llvm/llvm-project/commit/109e70d357284f612fbe69d213b002366dd67927
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-12-05 (Sat, 05 Dec 2020)

  Changed paths:
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/test/CodeGen/ARM/hidden-vis-3.ll
    M llvm/test/CodeGen/X86/hidden-vis-3.ll

  Log Message:
  -----------
  [TargetMachine] Drop implied dso_local for an edge case (extern_weak + non-pic + hidden)

This does not deserve special handling. The code should be added to Clang
instead if deemed useful. With this simplification, we can additionally delete
the PIC extern_weak special case.




More information about the All-commits mailing list