[all-commits] [llvm/llvm-project] a6ae33: [ELF] --wrap: don't error `undefined reference to ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jun 1 23:01:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a6ae333a0c23fc9b0783ca45e2676abac00c6723
      https://github.com/llvm/llvm-project/commit/a6ae333a0c23fc9b0783ca45e2676abac00c6723
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-06-01 (Mon, 01 Jun 2020)

  Changed paths:
    M lld/ELF/SymbolTable.cpp
    M lld/test/ELF/wrap-dynamic-undef.s
    M lld/test/ELF/wrap-no-real.s
    A lld/test/ELF/wrap-shlib-undefined.s

  Log Message:
  -----------
  [ELF] --wrap: don't error `undefined reference to __real_foo` (--no-allow-shlib-undefined) if foo is a wrapped definition

This is a regression after D51283.

Also, export `foo` if `__real_foo` is referenced by a shared object.




More information about the All-commits mailing list