[flang-commits] [flang] [Flang] Adjust pass plugin support to match Clang (PR #174006)

Kelvin Li via flang-commits flang-commits at lists.llvm.org
Thu Jan 15 13:29:37 PST 2026


kkwli wrote:

The change also causes failures in `flang/test/Examples/*` on AIX.

```
/home/kli/wrk/f/build-flang-local/bin/flang -fc1 -load /home/kli/wrk/f/build-flang-local/lib/flangOmpReport.so -plugin flang-omp-report -fopenmp /home/kli/llvm-project/flang/test/Examples/test.f90
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug.
Stack dump:
0.      Program arguments: /home/kli/wrk/f/build-flang-local/bin/flang -fc1 -load /home/kli/wrk/f/build-flang-local/lib/flangOmpReport.so -plugin flang-omp-report -fopenmp /home/kli/llvm-project/flang/test/Examples/test.f90
Segmentation fault         (core dumped) /home/kli/wrk/f/build-flang-local/bin/flang -fc1 -load /home/kli/wrk/f/build-flang-local/lib/flangOmpReport.so -plugin flang-omp-report -fopenmp /home/kli/llvm-project/flang/test/Examples/test.f90
```
The symptom looks different from https://github.com/llvm/llvm-project/issues/172203.

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


More information about the flang-commits mailing list