[all-commits] [llvm/llvm-project] 71ec1e: [ELF] Demote !isUsedInRegularObj lazy symbol

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Oct 11 09:46:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 71ec1e501572ed327c16cb958b93652ea0d74f6f
      https://github.com/llvm/llvm-project/commit/71ec1e501572ed327c16cb958b93652ea0d74f6f
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-10-11 (Mon, 11 Oct 2021)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/ELF/Symbols.h
    M lld/ELF/SyntheticSections.cpp

  Log Message:
  -----------
  [ELF] Demote !isUsedInRegularObj lazy symbol

I think D79300 has fixed the D51892 (`__i686.get_pc_thunk.bx`) issue, so
we can bring back rL330869.
D79300 says `would error undefined symbol instead of the more relevant discarded section`
but it doesn't reproduce now.

This avoids a quirk in `isUndefWeak()`.

Reviewed By: peter.smith

Differential Revision: https://reviews.llvm.org/D111365




More information about the All-commits mailing list