[llvm-commits] [llvm] r76385 - in /llvm/trunk: docs/ include/llvm-c/ include/llvm/ include/llvm/Support/ lib/AsmParser/ lib/Bitcode/Reader/ lib/Bitcode/Writer/ lib/CodeGen/ lib/Linker/ lib/Target/ lib/Target/ARM/AsmPrinter/ lib/Target/Alpha/AsmPr

Eli Friedman eli.friedman at gmail.com
Mon Jul 20 05:42:37 PDT 2009


On Mon, Jul 20, 2009 at 1:19 AM, Duncan Sands<baldrick at free.fr> wrote:
> Hi Chris,
>
>> Right.  Private linkage is discarded by the assembler, so they never
>> make it into the .o file.  linker_private is discarded by the linker,
>> so it never makes it into the .exe/.dylib.  I don't think there is a
>> corresponding idea on ELF, so on ELF they two linkage types should be
>> codegen'd the same way.
>
> I don't understand why you would want something to be discarded by
> the assembler/linker and not by the linker/assembler.  Don't you
> want them both to throw pointless things away?

I've stopped questioning anything that has to do with Apple's
linker... it has all sorts of strange quirks.

-Eli




More information about the llvm-commits mailing list