[all-commits] [llvm/llvm-project] 52bfd2: [ELF] Do not report undefined weak references in s...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Mon Dec 13 15:48:04 PST 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 52bfd2c1ccd86ff813ee6df5a6700690acdd912f
      https://github.com/llvm/llvm-project/commit/52bfd2c1ccd86ff813ee6df5a6700690acdd912f
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2021-12-13 (Mon, 13 Dec 2021)

  Changed paths:
    M lld/ELF/InputFiles.cpp
    A lld/test/ELF/allow-shlib-undefined-weak.s

  Log Message:
  -----------
  [ELF] Do not report undefined weak references in shared libraries

This fixes an issue introduced in D101996.

A weak reference in a shared library could be incorrectly reported if
there is another library that has a strong reference to the same symbol.

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

(cherry picked from commit ce25eb12dd5abae6c769168a70a8f377b608228c)




More information about the All-commits mailing list