This patch adds a utility called DumpAccumulator.
DumpAccumulator allows you to dump arbitrary text messages into a special
section called .llvm_dump. The linker then concatenates these messages into
the identically named section in the final executable.
This utility makes it easy to collect information from optimization
passes of interest in a build environment that caches compilation.
See llvm/include/llvm/Analysis/DumpAccumulator.h for usage.
The original implementation is from Mircea Trofin, and I generalized it.
clang-format suggested style edits found: