I'd like to get the C source lines inline with the assembly output to see what code is being generated.
I have tried GCC options like -S
-Wa,-ahlms
(and even -Wa,--gstabs
'cause I read it somewhere).
Oh! BTW, I am on a Mac so I don't have objdump
.
(Sorry this is short, I have to get off the train!)
Output of gcc pc-clisp.c -S -g -fverbose-asm -fnested-functions
.globl _getBool
_getBool:
LFB32:
LM21:
pushl %ebp #
LCFI30:
movl %esp, %ebp #,
LCFI31:
subl $8, %esp #,
LCFI32:
LM22:
movzbl 8(%ebp), %eax # atom.pred, D.4112
movzbl %al, %eax # D.4112, D.4113
andl $-16, %eax #, D.4114
sarl $4, %eax #, D.4115
testl %eax, %eax # D.4115
setne %al #, tmp64
movzbl %al, %eax # tmp64, D.4111
leave
ret
LFE32: