[all-commits] [llvm/llvm-project] 3c1b2e: [libunwind] Make findUnwindSectionsByPhdr static

Ryan Prichard via All-commits all-commits at lists.llvm.org
Sat Aug 22 17:13:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c1b2e338dfdf4f305b1cb40e2ebcb93a7e470c3
      https://github.com/llvm/llvm-project/commit/3c1b2e338dfdf4f305b1cb40e2ebcb93a7e470c3
  Author: Ryan Prichard <rprichard at google.com>
  Date:   2020-08-22 (Sat, 22 Aug 2020)

  Changed paths:
    M libunwind/src/AddressSpace.hpp

  Log Message:
  -----------
  [libunwind] Make findUnwindSectionsByPhdr static

Currently, this function is present in the dynsym table of
libunwind.so (on ELF targets). Make the function static instead.

In the previous release (LLVM 10.x), this function was instead a lambda
function inside LocalAddressSpace::findUnwindSections, and because
LocalAddressSpace was marked with _LIBUNWIND_HIDDEN, the lambda
function was also a hidden symbol.

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




More information about the All-commits mailing list