| Issue |
56011
|
| Summary |
[clang][DebugInfo] Missing debug info for alias of variable declared later in the scope
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
kavitha-natarajan
|
Consider the example:
extern int newname __attribute__((alias("oldname")));
int oldname = 1;
No debug info would be generated for 'newname' in this case as the aliasee 'oldname' is declared later.
Fix compiler to generate "newname" as DW_TAG_imported_declaration pointing to the DIE of "oldname".
Refer https://reviews.llvm.org/D120989 (Support for generating debug info for alias variables).
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs