[all-commits] [llvm/llvm-project] e27fa2: [Clang] Switch to Default PIE on FreeBSD
aokblast via All-commits
all-commits at lists.llvm.org
Fri Jul 10 01:09:19 PDT 2026
Branch: refs/heads/users/aokblast/clang/default_pie_on_all
Home: https://github.com/llvm/llvm-project
Commit: e27fa2c5bb6c91881208c057800c332c391ff1b5
https://github.com/llvm/llvm-project/commit/e27fa2c5bb6c91881208c057800c332c391ff1b5
Author: ShengYi Hung <aokblast at FreeBSD.org>
Date: 2026-07-10 (Fri, 10 Jul 2026)
Changed paths:
M clang/CMakeLists.txt
M clang/include/clang/Config/config.h.cmake
M clang/lib/Driver/ToolChains/FreeBSD.cpp
M clang/test/CMakeLists.txt
A clang/test/Driver/freebsd-default-pie.c
A clang/test/Driver/freebsd-mips-as-pie.c
M clang/test/Driver/freebsd-mips-as.c
A clang/test/Driver/freebsd-pie.c
M clang/test/Driver/freebsd.c
A clang/test/Driver/hie-fpie-option-freebsd.hip
M clang/test/lit.cfg.py
M clang/test/lit.site.cfg.py.in
M flang/test/Driver/linker-options.f90
M flang/test/Driver/pic-flags.f90
M llvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
M llvm/utils/gn/secondary/clang/test/BUILD.gn
M utils/bazel/llvm-project-overlay/clang/include/clang/Config/config.h
Log Message:
-----------
[Clang] Switch to Default PIE on FreeBSD
We have started to compile the binary in our base as PIE by defualt. It
makes sense to compile the binary to PIE by default in toolchain as
Linux now. Also, extended testcases to support default PIE and no-pie
parameter in freebsd-pie.c, freebsd-mips-as-pie.c and hip-fpie-option-freebsd.hip.
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