[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/AsmPrinter/ lib/Target/CellSPU/AsmPrinter/ lib/Target/CppBackend/	lib/Target/IA64/AsmPrinter/ lib/Target/MSP430/	lib/Target/Mips/AsmPrinter/	lib/Target/PowerPC/AsmPrinter/ lib/Target/Sparc/AsmPrinter/	lib/Target/SystemZ/AsmPrinter/	lib/Target/X86/AsmPrinter/ lib/Target/XCore/ lib/Tr...
    Duncan Sands 
    baldrick at free.fr
       
    Mon Jul 20 01:19:17 PDT 2009
    
    
  
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?
Ciao,
Duncan.
    
    
More information about the llvm-commits
mailing list