[llvm-bugs] [Bug 50052] New: Debuginfo for alias variable /func is not emitted.
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Apr 21 00:23:03 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=50052
Bug ID: 50052
Summary: Debuginfo for alias variable /func is not emitted.
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C
Assignee: unassignedclangbugs at nondot.org
Reporter: umesh.kalappa0 at gmail.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
We have a situation with clang ,where the debuginfo for alias variable /func is
not emitted i.e
$cat test.c
int oldname = 1;
extern int newname __attribute__((alias("oldname")));
$clang -g -O0 test.c
$gdb a.out
(gdb) pt oldname
type = int
(gdb) pt newname
type = <data variable, no debug info>
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210421/fe8938ef/attachment.html>
More information about the llvm-bugs
mailing list