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

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -