[all-commits] [llvm/llvm-project] b9095f: [lld][MachO] Fix function starts section

Alexander Shaposhnikov via All-commits all-commits at lists.llvm.org
Fri Jun 11 17:53:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9095f5e1a7f6f3ee1d741a6931a318da050bed8
      https://github.com/llvm/llvm-project/commit/b9095f5e1a7f6f3ee1d741a6931a318da050bed8
  Author: Alexander Shaposhnikov <alexshap at fb.com>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M lld/MachO/SyntheticSections.cpp
    M lld/MachO/SyntheticSections.h
    M lld/test/MachO/function-starts.s

  Log Message:
  -----------
  [lld][MachO] Fix function starts section

Sort the addresses stored in FunctionStarts section.
Previously we were encoding potentially large numbers (due to unsigned overflow).

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D103662




More information about the All-commits mailing list