app store - iOS fat binaries: should every arch include bitcode? -


when building library used in bitcode-enabled apps, each arch in fat binary need built -fembed-bitcode or 1 of them?

one of them because bitcode architecture-independent , duplicated?

all of them because pre-processor commands may alter code based on architecture (e.g. nsinteger width)?

excluding x86 slices otherwise duplicate symbol _llvm.cmdline happens? - rdar://21884601

bitcode form of llvm ir, architecture-dependent.

which means each slice in fat binary should contain it's own bitcode section.

upd. wrote blog-post bitcode, may find there useful details: bitcode demystified


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -