[PATCH] Add missing "[unnamed_addr]" to LangRef.rst#functions.

Manuel Jacob me at manueljacob.de
Thu Mar 6 19:39:56 PST 2014


  I actually checked this. The code in lib/IR/AsmWriter.cpp:1616 prints the rparen, unnamed_addr if needed and then the FnAttributes.

    Out << ')';
    if (F->hasUnnamedAddr())
      Out << " unnamed_addr";
    if (Attrs.hasAttributes(AttributeSet::FunctionIndex))
      Out << " #" << Machine.getAttributeGroupSlot(Attrs.getFnAttributes());

http://llvm-reviews.chandlerc.com/D2958



More information about the llvm-commits mailing list