Similar to D92113. Currently clang -fstack-size-section -fno-unique-section-names
sets the linked-to symbol to the first .text, which is:
- incorrect for COMDAT sections
- inferior for non-COMDAT sections in -ffunction-sections mode (poor --gc-sections: .stack_sizes cannot be separately discarded)
Note, if the section symbol can be referenced in more places (if the
function begin symbol does not apply), we probably should consider
defining a different BeginSymbol for sections with ",unique" linkage.