[flang-commits] [flang] [RFC][flang] Replace special symbols in uniqued global names. (PR #104859)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Thu Sep 19 11:55:31 PDT 2024


vzakhari wrote:

Hi @abidh, how does the '.' lookup work for `_QQclX9a37c0` symbols after https://github.com/llvm/llvm-project/pull/71338?  Is it also "broken"?

I think you can try to rely on 'X' symbol being the first in the uniqued decomposed name, but maybe we should actually have an attribute for the compiler-generated globals.

Please note that the not-uniqued symbols can have 'X' in their names, and that does not mean they are compiler-generated:
```
module test
  real, bind(c,name='XYZ') :: aaa
end module test
```

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


More information about the flang-commits mailing list