This patch upstreams support for Apple's implementation of anonymization.
The code is used internally to read and write BCSymbolMaps in the embedded
bitcode workflow. We need this logic upstream in order to upstream the part of
dsymutil that deals with dSYMs generated for bitcode-enabled App Store builds.
If there's interest from the community I'd be more than happy to upstream the
anonymization pass as well.
This is a slightly modified version of the code originally written by Steven Wu.
It's not entirely clear what "anonymization" means. Can you improve this comment here?
Also, the summary said it's needed for dsymutil. Does it need to be in Support?