[cfe-dev] 2009-10-20-GlobalDebug.c failing on Windows

John Thompson john.thompson.jtsoftware at gmail.com
Wed Oct 21 14:08:15 PDT 2009


 > 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:

 .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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091021/3e7baf91/attachment.html>


More information about the cfe-dev mailing list