[PATCH] D21743: Convenience function for MCStreamer to get named sections when lowering.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 11:10:49 PDT 2016


On 29 June 2016 at 12:36, Reid Kleckner via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> rnk added a comment.
>
> In http://reviews.llvm.org/D21743#468102, @majnemer wrote:
>
>> Reid, didn't you add something like this for COFF?
>
>
> MCContext::getAssociativeCOFFSection, which doesn't do this name appending stuff because it wastes object file space.
>
> This patch is NFC, and that's fine, but at a high level, should we continue to name our sections things like .text._Z3foov (ala GCC), or should we be shortening to just .text? I thought Rafael did that at one point?


There is an option for doing that: -fno-unique-section-names

Cheers,
Rafael


More information about the llvm-commits mailing list