[all-commits] [llvm/llvm-project] 54d289: [ELF] --wrap: Drop __real_ symbol from the symbol ...

Rui Ueyama via All-commits all-commits at lists.llvm.org
Wed May 27 16:58:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 54d289685260da85fc43c59db2550b18df7c33a5
      https://github.com/llvm/llvm-project/commit/54d289685260da85fc43c59db2550b18df7c33a5
  Author: Rui Ueyama <ruiu at google.com>
  Date:   2020-05-27 (Wed, 27 May 2020)

  Changed paths:
    M lld/ELF/SymbolTable.cpp
    M lld/test/ELF/lto/wrap-2.ll
    M lld/test/ELF/wrap-no-real.s
    M lld/test/ELF/wrap.s

  Log Message:
  -----------
  [ELF] --wrap: Drop __real_ symbol from the symbol table

In D34993, we discussed and concluded that we should drop `__real_
symbol from the symbol table, but I did the opposite in D50569.
This patch is to drop `__real_` symbol.

MaskRay's note: omitting `__real_` is important if it is undefined:
otherwise a subsequent link may error due to the undefined `__real_` in .dynsym

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




More information about the All-commits mailing list