<div dir="ltr"><div>LLVM Default:</div><div>- LLVM_ABI_BREAKING_CHECKS was turn out</div><div>- no problem release version</div><div>- debug version compiled (about 1.5 hours) by ninja is also OK</div><div>- but debug files .o from .a linked in my simple cmake, need DisableABIBreakingChecks and file llvm/lib/Support/ABIBreak.cpp</div><div>After adding this file to cmake, is error in ArgList<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">czw., 17 wrz 2020 o 23:03 David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> napisał(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ABI breaking checks/no-checks can't be mixed. But you can turn off ABI<br>
breaking checks while turning on debug info, so that the bits built<br>
with debug info will be compatible with the bits built without debug<br>
info. (or turn on ABI breaking checks while turning off debug info, I<br>
guess)<br>
<br>
On Thu, Sep 17, 2020 at 1:51 PM Andy via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<br>
><br>
> I want use clang sources in my project. Rrlease version is linked and running OK, but debug version need llvm/lib/Support/ABIBreak.cpp to link and has runtime errors. This errors I can avoid by modying HandleLLVMOptions.cmake by defining LLVM_ABI_BREAKING_CHECKS.<br>
> I can link debug objects and run OK, but it is huge: link need about 14 GB memory and takes 3 minutes of time.<br>
> It will be well - near all objects files compiled as release but some compiled as debug. This is main problem: after modyfuing cmake , release version need EnableABIBreakingChecks and has errors. How do mix world with enable check and disable check?<br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a><br>
</blockquote></div>