On Tue, Mar 3, 2015 at 10:21 AM, Rafael Espíndola < [email protected]> wrote:
> On 3 March 2015 at 07:51, David Majnemer <[email protected]> wrote: > > It would be nice to give it internal linkage instead of private. That > way the linker could zap these globals for targets which use COFF when they > are unreferenced. > > What is the issue with private on COFF? For ELF at least private is > the correct choice for this. > We explicitly forbid making private linkage entities COMDAT here: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp?revision=230707&view=markup#l859 Last time I tried, I couldn't get this to work. > > Cheers, > Rafael > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
