[all-commits] [llvm/llvm-project] 9f50e2: [flang][Driver] Enable -pie and -no-pie in flang's...

Tarun Prabhu via All-commits all-commits at lists.llvm.org
Wed Oct 29 08:26:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f50e24df8f3106ea7c01c19f72c6345f2ea3107
      https://github.com/llvm/llvm-project/commit/9f50e24df8f3106ea7c01c19f72c6345f2ea3107
  Author: Tarun Prabhu <tarun at lanl.gov>
  Date:   2025-10-29 (Wed, 29 Oct 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    A flang/test/Driver/linker-options.f90
    R flang/test/Driver/misc-flags.f90

  Log Message:
  -----------
  [flang][Driver] Enable -pie and -no-pie in flang's driver

Passing -pie to flang will pass the flag on to the linker. Passing
-no-pie will ensure that -pie is *not* passed to the linker. This
behavior is consistent with both clang and gfortran.

Fixes #159970



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list