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

Abid Qadeer via flang-commits flang-commits at lists.llvm.org
Thu Sep 19 11:16:02 PDT 2024


abidh wrote:

Hi @vzakhari, @jeanPerier 
We discard compiler generated symbol (used for derived types) while generating debug info. Previously I could just look at the '.' in the start to be sure that I can discard this without worrying that it can be a symbol from user code. Is there a way now to do this after '.' has been replaced with 'X'. For example, `_QMmEXcXt1` is a compiler generated one and `_QMmEsome_global` is a user symbol and I don't see a straight forward way to differentiate between them. 

Without this, we will be generating a lot of redundant information which not only takes compile time but will increase the object size unnecessarily.

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


More information about the flang-commits mailing list