Teach clang to embed bitcode inside bitcode. When -fembed-bitcode cc1
option is used, clang will embed both the input bitcode and cc1
commandline into the bitcode in special sections before compiling to
the object file. Using -fembed-bitcode-marker will only introduce a
marker in both sections.
Don't emit uselist order for -fembed-bitcode
Embedded bitcode are embedded without serialization in their normal
flow. No uselist order need to be recorded.
Apply whitelist to options used in embedded bitcode
Add a whitelist for the options that are allowed to be used with
-fembed-bitcode. That is minimize the number of the cc1 command
that needs to be embedded in the object file.