First chunk split out of D41955.
Must be committed simultaneously with LLD change, D42075.
Changes:
- Update for DEBUG_FUNCTION_NAME disappearing
- Simplify generation of "names" section by simply iterating over the DefinedFunctions array.
- Apparently, this even fixes some bugs, judging by the test changes required - some tests are asserting that functions are named multiple times, other tests are asserting that the "names" section contains the function's alias rather than its original name...
- Rolled in some tiny formatting changes...
Maybe NumNames?