码迷,mamicode.com
首页 > 其他好文 > 详细

使用Xcode 查看objective-C的汇编代码

时间:2014-08-18 16:32:32      阅读:204      评论:0      收藏:0      [点我收藏+]

标签:xcode   objective-c   汇编代码   

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

bubuko.com,布布扣


汇编的部分代码如下:

# 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



使用Xcode 查看objective-C的汇编代码,布布扣,bubuko.com

使用Xcode 查看objective-C的汇编代码

标签:xcode   objective-c   汇编代码   

原文地址:http://blog.csdn.net/hherima/article/details/38660213

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!