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

Igor Kudrin via All-commits all-commits at lists.llvm.org
Mon Dec 6 19:21:30 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce25eb12dd5abae6c769168a70a8f377b608228c
      https://github.com/llvm/llvm-project/commit/ce25eb12dd5abae6c769168a70a8f377b608228c
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2021-12-07 (Tue, 07 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




More information about the All-commits mailing list