[all-commits] [llvm/llvm-project] 0f8854: [lld-macho] Don't reference entry symbol for non-e...

Jez Ng via All-commits all-commits at lists.llvm.org
Sun May 9 17:30:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f8854f7f5d3e98f32eef7cfd09d5b8915a7d301
      https://github.com/llvm/llvm-project/commit/0f8854f7f5d3e98f32eef7cfd09d5b8915a7d301
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-05-09 (Sun, 09 May 2021)

  Changed paths:
    M lld/MachO/Config.h
    M lld/MachO/Driver.cpp
    M lld/MachO/Writer.cpp
    M lld/test/MachO/bundle-loader.s
    M lld/test/MachO/entry-symbol.s

  Log Message:
  -----------
  [lld-macho] Don't reference entry symbol for non-executables

This would cause us to pull in symbols (and code) that should
be unused.

Reviewed By: #lld-macho, thakis

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




More information about the All-commits mailing list