[all-commits] [llvm/llvm-project] 83338b: [libunwind] Make findUnwindSectionsByPhdr static

Ryan Prichard via All-commits all-commits at lists.llvm.org
Tue Aug 25 04:40:16 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 83338bed0c2078870b36a81fe9a36723bd3be2e5
      https://github.com/llvm/llvm-project/commit/83338bed0c2078870b36a81fe9a36723bd3be2e5
  Author: Ryan Prichard <rprichard at google.com>
  Date:   2020-08-25 (Tue, 25 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

(cherry picked from commit 3c1b2e338dfdf4f305b1cb40e2ebcb93a7e470c3)




More information about the All-commits mailing list