[all-commits] [llvm/llvm-project] 82ed93: [ELF] Use stOther to track visibility

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Sep 4 17:27:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82ed93ea0552c8f82df05859ee93e70b71c4e65d
      https://github.com/llvm/llvm-project/commit/82ed93ea0552c8f82df05859ee93e70b71c4e65d
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-09-04 (Sun, 04 Sep 2022)

  Changed paths:
    M lld/ELF/LTO.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/SymbolTable.cpp
    M lld/ELF/Symbols.cpp
    M lld/ELF/Symbols.h
    M lld/ELF/SyntheticSections.cpp
    M lld/test/ELF/x86-64-dyn-rel-error5.s

  Log Message:
  -----------
  [ELF] Use stOther to track visibility

This simplifies SymbolTableSection<ELFT>::writeTo. Add dsoProtected to be used
in canDefineSymbolInExecutable and get the side benefit that the protected DSO
preemption diagnostic is clearer.




More information about the All-commits mailing list