dyld环境变量

转自:https://developer.apple.com/library/content/technotes/tn2239/_index.html#//apple_ref/doc/uid/DTS40010638-CH1-SUBSECTION21

Dynamic Linker (dyld)

The dynamic linker (dyld) supports a number of debugging facilities that you can enable via environment variables. These are fully documented in the manual pageTable 6 lists some of the more useful variables.

Table 6  Dynamic linker environment variables

Variable

Summary

DYLD_IMAGE_SUFFIX

Search for libraries with this suffix first

DYLD_PRINT_LIBRARIES

Log library loads

DYLD_PRINT_LIBRARIES_POST_LAUNCH

As above, but only after main has run

DYLD_PRINT_OPTS [1]

Print launch-time command line arguments

DYLD_PRINT_ENV [1]

Print launch-time environment variables

DYLD_PRINT_APIS [1]

Log dyld API calls (for example, dlopen)

DYLD_PRINT_BINDINGS [1]

Log symbol bindings

DYLD_PRINT_INITIALIZERS [1]

Log image initialization calls

DYLD_PRINT_SEGMENTS [1]

Log segment mapping

DYLD_PRINT_STATISTICS [1]

Print launch performance statistics

Notes:

  1. On the Mac OS X side these are only available on Mac OS X 10.4 and later. They are, however, available on all versions of iOS.

While these environment variables are implemented on iOS, many of them have limited utility because of the restricted environment on that system.



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值