<div dir="ltr"><div dir="ltr"><div>Hi,</div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 15, 2019 at 1:37 PM yehuda marko via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_54216858426956632WordSection1"><p class="MsoNormal">Hello,</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"><span class="gmail-m_54216858426956632uioutputtextarea">I want to force the linker to load all the symbols (object files) related to specific archive (.a) even though the application does not use them explicitly. </span></p><p class="MsoNormal"><span class="gmail-m_54216858426956632uioutputtextarea"> </span></p><p class="MsoNormal"><span class="gmail-m_54216858426956632uioutputtextarea">(In similar in gnu linker the option for the linker will be –whole-archive, or in diab –A ).</span></p></div></div></blockquote><div><br></div><div><br></div><div>It seems that your question relates to the linker, are you asking about lld? lld supports the --whole-archive flag as well I believe.</div><div><br></div><div>If your question is not about lld, can you clarify what you're looking for exactly?</div><div><br></div><div>Best,</div><div><br></div><div>-- </div><div>Mehdi</div><div><br></div></div></div></div>