[flang-commits] [flang] [flang][Driver] Remove check for pic/pie settings without driver flags (PR #143530)

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Wed Jun 11 01:22:00 PDT 2025


banach-space wrote:

Hey @kparzysz , thanks for digging into this!

> I still think it should be removed because it depends on build options, and can fail even when everything works as intended.

How about adding an extra condition to that `RUN` line:

```
! RUN: %if aarch64-registered-target && clang_default_pie_on_linux %{ %flang ...}
```
?  `clang_default_pie_on_linux` should already be available in LIT: https://github.com/llvm/llvm-project/blob/main/clang/test/lit.site.cfg.py.in#L26

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


More information about the flang-commits mailing list