[LLVMbugs] [Bug 14405] New: Debug info for empty functions does not have line information
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Nov 21 16:59:12 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14405
Bug #: 14405
Summary: Debug info for empty functions does not have line
information
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: dblaikie at gmail.com
CC: llvmbugs at cs.uiuc.edu
Blocks: 14330
Classification: Unclassified
breaking on main in the trivial program:
int main() {
}
breaks at a location without source code
(gdb) break main
Breakpoint 1 at 0x4004d0
(gdb) r
Starting program: /home/blaikie/Development/scratch/a.out
Breakpoint 1, 0x00000000004004d0 in main ()
rather than GCC which:
(gdb) break main
Breakpoint 1 at 0x4004d0: file main.c, line 2.
(gdb) r
Starting program: /home/blaikie/Development/scratch/a.out
Breakpoint 1, main () at main.c:2
2 }
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list