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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs