[flang-commits] [clang] [flang] [llvm] [clang] Switch to Default PIE on FreeBSD (PR #206139)

Fangrui Song via flang-commits flang-commits at lists.llvm.org
Sun Jul 19 23:31:48 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 \
----------------
MaskRay wrote:

excessive line wrapping. Most RUN lines should have at most 2 lines.

Not sure you need all the combinations. A `%clang` RUN line is not free, it's permanent tax for devs that run check-clang-driver check-clang. Ensure you only add necessary tests

https://github.com/llvm/llvm-project/pull/206139


More information about the flang-commits mailing list