[flang-commits] [flang] [flang] Main program symbol no longer conflicts with the other symbols (PR #149169)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Wed Jul 30 09:55:56 PDT 2025


eugeneepshteyn wrote:

> Hi This has the side effect that many GDB tests are now failing which are expecting program name as it was in the source code. Is it possible to add an attribute or something which carries the name as it was in the source so that debug information can use it?

flang never preserved the original case of identifiers from the original source code, all identifiers were lower cased by default. Due to implementation specifics, it was necessary to make an exception for MAIN program name and upper case it. I don't expect this to be something that happens often. Would it be possible to change GDB tests to match?

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


More information about the flang-commits mailing list