[cfe-dev] 2009-10-20-GlobalDebug.c failing on Windows
Chris Lattner
clattner at apple.com
Wed Oct 21 15:33:12 PDT 2009
On Oct 21, 2009, at 2:08 PM, John Thompson wrote:
> > I chose to force the triple because I wasn't sure if all targets
> use "asciz" for string literals.
> There's no asciz. Here's the output:
Ok, no debug info at all, lets go with a forced triple.
-Chris
>
> .section .debug_frame,"dr"
> $section_debug_frame:
> .section .debug_info,"dr"
> $section_info:
> .section .debug_abbrev,"dr"
> $section_abbrev:
> .section .debug_aranges,"dr"
> $section_aranges:
> .section .debug_macinfo,"dr"
> $section_macinfo:
> .section .debug_line,"dr"
> $section_line:
> .section .debug_loc,"dr"
> $section_loc:
> .section .debug_pubnames,"dr"
> $section_pubnames:
> .section .debug_str,"dr"
> $section_str:
> .section .debug_ranges,"dr"
> $section_ranges:
> .text
> $text_begin:
> .data
> $data_begin:
>
> .text
> ALIGN 16
> .globl _main
> _main: ; @main
> ; BB#0: ; %entry
> pushl %ebp
> $label1:
> movl %esp, %ebp
> $label2:
> subl $4, %esp
> $label3:
> movl $0, -4(%ebp)
> movl $0, -4(%ebp) ; SrcLine 4:14
> movl -4(%ebp), %eax ; SrcLine 4:14
> addl $4, %esp ; SrcLine 4:14
> popl %ebp ; SrcLine 4:14
> ret ; SrcLine 4:14
> .section .data$linkonce_global,"w"
> .comm _global,4,4 ; @global
>
> --
> John Thompson
> John.Thompson.JTSoftware at gmail.com
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091021/7952cc83/attachment.html>
More information about the cfe-dev
mailing list