首页 > 其他 > 详细

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

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

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的汇编代码

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!