I noticed that AsmPrinter::EmitLinkage doesn't handle ExternalWeakLinkage. Is that an oversight or is something deeper going on? -Dave
On Jul 12, 2010, at 5:27 PM, David Greene wrote:> I noticed that AsmPrinter::EmitLinkage doesn't handle > ExternalWeakLinkage. Is that an oversight or is something > deeper going on?EmitLinkage is never called on external globals. -Chris
Chris Lattner <clattner at apple.com> writes:> On Jul 12, 2010, at 5:27 PM, David Greene wrote: > >> I noticed that AsmPrinter::EmitLinkage doesn't handle >> ExternalWeakLinkage. Is that an oversight or is something >> deeper going on? > > EmitLinkage is never called on external globals.Hmm...well it is here. :) I just hit the "unknown linkage" assert. -Dave