zoukankan      html  css  js  c++  java
  • 使用Xcode 查看objective-C的汇编代码

    Xcode自带将某一个源文件转化成汇编的功能。如图:



    汇编的部分代码例如以下:

    # Assembly output for assemble.c
    # Generated at 2:29:34 下午 on 星期一, 八月 18, 2014
    # Using Debug configuration, x86_64 architecture for dataStruct target of dataStruct project
    
    	.section	__TEXT,__text,regular,pure_instructions
    	.section	__DWARF,__debug_info,regular,debug
    Lsection_info:
    	.section	__DWARF,__debug_abbrev,regular,debug
    Lsection_abbrev:
    	.section	__DWARF,__debug_aranges,regular,debug
    	.section	__DWARF,__debug_macinfo,regular,debug
    	.section	__DWARF,__debug_line,regular,debug
    Lsection_line:
    	.section	__DWARF,__debug_loc,regular,debug
    	.section	__DWARF,__debug_str,regular,debug
    Linfo_string:
    	.section	__DWARF,__debug_ranges,regular,debug
    Ldebug_range:
    	.section	__DWARF,__debug_loc,regular,debug
    Lsection_debug_loc:
    	.section	__TEXT,__text,regular,pure_instructions
    Ltext_begin:
    	.section	__DATA,__data
    	.file	1 "/Users/guoxiaodong/Documents/codeExemple/dataStruct/assemble.c"
    	.section	__TEXT,__text,regular,pure_instructions
    	.globl	_func0
    	.align	4, 0x90
    _func0:                                 ## @func0



  • 相关阅读:
    负环判断模版
    计蒜客NOIP2017提高组模拟赛(四)day1
    NOIP2014-10-30模拟赛
    树链剖分模版
    2014-10-30NOIP复习题1
    NOIP2014-5-17模拟赛
    NOIP2014-5-10模拟赛
    NOIP2014-3-15模拟赛
    HDU1556Color the ball
    HDU1166敌兵布阵
  • 原文地址:https://www.cnblogs.com/yutingliuyl/p/6711061.html
Copyright © 2011-2022 走看看