[flang-commits] [clang] [flang] [llvm] [clang] Switch to Default PIE on FreeBSD (PR #206139)
via flang-commits
flang-commits at lists.llvm.org
Mon Jul 20 06:11:04 PDT 2026
================
@@ -0,0 +1,36 @@
+// -fPIC and -fPIE only affects host relocation model.
+// device compilation always uses PIC.
+
+// RUN: %clang -### --target=x86_64-unknown-freebsd \
----------------
aokblast wrote:
I basically copy hip-fpie-option.hip, which has more than 2 lines of RUN per testcase. I delete the last two testcases as FreeBSD has been PIE by default in ths patch. Others are necessary I think.
https://github.com/llvm/llvm-project/pull/206139
More information about the flang-commits
mailing list