[all-commits] [llvm/llvm-project] 6b3eec: [lld-macho] Extend PIE option handling

Jez Ng via All-commits all-commits at lists.llvm.org
Tue Dec 1 14:40:42 PST 2020


  Branch: refs/heads/temp-test-main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b3eecd22ab2afd16be412d19eed0e01f10e6cc8
      https://github.com/llvm/llvm-project/commit/6b3eecd22ab2afd16be412d19eed0e01f10e6cc8
  Author: Jez Ng <jezng at fb.com>
  Date:   2020-12-01 (Tue, 01 Dec 2020)

  Changed paths:
    M lld/MachO/Driver.cpp
    M lld/MachO/Options.td
    M lld/test/MachO/x86-64-reloc-unsigned.s

  Log Message:
  -----------
  [lld-macho] Extend PIE option handling

* Enable PIE by default if targeting 10.6 or above on x86-64. (The
  manpage says 10.7, but that actually applies only to i386, and in
  general varies based on the target platform. I didn't update the
  manpage because listing all the different behaviors would make for a
  pretty long description.)
* Add support for `-no_pie`
* Remove `HelpHidden` from `-pie`

Reviewed By: thakis

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




More information about the All-commits mailing list