ä»æã®gcc ã«é©ãããkernel/VM advent cal. 2012/ DEC/07 | ãããã ã¼ã¡ã¼ã¡æ¥è¨ kernelVM advent calendar 2012/ DEC/07 ä»æã®gcc ã«é©ãã話ã (kernelã¨ãVMã¨ãé¢ä¿ãªãã¦ãã¹ãã½) -- a.c main() { foo(); } foo() { printf("FOO"); bar(); } bar() { printf("BAR"); foo(); } -- ã¨ããã½ã¼ã¹ãæ¸ãã foo()ã¨bar()ã¯ããäºãã«å¼ã³ããç¡éã«ã¼ããæãã % cc -S -O0 a.c ã§ãåºããªãã¸ã§ã¯ã㯠-- a.s -O0 (ç¥) main: .LFB0: (ç¥) movl $0, %eax call foo (ç¥) ret .cfi_endproc .LFE0: (ç¥) .LC0: .string
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}