Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- As far as I know, you can't. The numbers are added so that the linker can have unique names to work with. They might change across compiles too. If you want to know the locations, use different names for each variable. --- Quote End --- As far as I understood, the compiler adds the numbers, when producing the .o file. In this file I found the variables with added numbers but without any hint where the compiler found the declarations. So there might exist an compiler option to output the location of the variable declaration in sourcecode or maybe in preprocessor-generated code. In the latter case I would need an access to the code the preprocessor generates....