[all-commits] [llvm/llvm-project] 16f735: [Driver] Make --execute-only the default for aarch...

Alex Brachet via All-commits all-commits at lists.llvm.org
Tue Sep 20 11:26:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16f735d2fbe8660659f1dde10eea79b0f0f7c11d
      https://github.com/llvm/llvm-project/commit/16f735d2fbe8660659f1dde10eea79b0f0f7c11d
  Author: Alex Brachet <abrachet at google.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Fuchsia.cpp
    M clang/test/Driver/fuchsia.c

  Log Message:
  -----------
  [Driver] Make --execute-only the default for aarch64-fuchsia

Clang already generates code that doesn't use writeable data in executable
sections so the linker flag is all that is necessary.

-Wl,--no-execute-only can be used to turn this default off.

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




More information about the All-commits mailing list