Simple tool to automate/simplify the workflow of inserting SB_RECORD and SB_REGSITER macros.
Because the tool won't be part of the build process I don't wan't to over-complicate it. Currently it prints a list of SB_REGISTER macros followed by the source file with the SB_RECORD macro's inserted. This means you'd have to copy over the SB_REGISTER macros manually per source file.
See example output here: https://reviews.llvm.org/P8125
There's a join in ADT/StringExtras.h which should do what you need here.