search for: replacecommonsymbols

Displaying 2 results from an estimated 2 matches for "replacecommonsymbols".

2019 Jun 24
4
Expected behavior of lld during LTO for global symbols (Attr Internal/Common)
...class ELFT> void LinkerDriver::link(opt::InputArgList &Args) { if (!Config->Relocatable) Symtab->scanVersionScript(); + // Replace common symbols with regular symbols, so that common + // symbols in input object files appear as regular symbols in .bss + // in the output. + replaceCommonSymbols(); + // Do link-time optimization if given files are LLVM bitcode files. // This compiles bitcode files into real object files. // @@ -1798,6 +1803,11 @@ template <class ELFT> void LinkerDriver::link(opt::InputArgList &Args) { if (errorCount()) return; + // LTO may have...
2019 Jun 21
2
Expected behavior of lld during LTO for global symbols (Attr Internal/Common)
Thanks for the info Teresa, Regards M Suresh From: Teresa Johnson <tejohnson at google.com> Sent: Thursday, June 20, 2019 7:15 PM To: Mani, Suresh <Suresh.Mani at amd.com> Cc: Rui Ueyama <ruiu at google.com>; llvm-dev <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] Expected behavior of lld during LTO for global symbols (Attr Internal/Common) [CAUTION: External