[cfe-dev] LInk with/without LLVM_ENABLE_ABI_BREAKING_CHECKS
Andy via cfe-dev
cfe-dev at lists.llvm.org
Thu Sep 17 14:10:25 PDT 2020
LLVM Default:
- LLVM_ABI_BREAKING_CHECKS was turn out
- no problem release version
- debug version compiled (about 1.5 hours) by ninja is also OK
- but debug files .o from .a linked in my simple cmake, need
DisableABIBreakingChecks and file llvm/lib/Support/ABIBreak.cpp
After adding this file to cmake, is error in ArgList
czw., 17 wrz 2020 o 23:03 David Blaikie <dblaikie at gmail.com> napisaĆ(a):
> ABI breaking checks/no-checks can't be mixed. But you can turn off ABI
> breaking checks while turning on debug info, so that the bits built
> with debug info will be compatible with the bits built without debug
> info. (or turn on ABI breaking checks while turning off debug info, I
> guess)
>
> On Thu, Sep 17, 2020 at 1:51 PM Andy via cfe-dev <cfe-dev at lists.llvm.org>
> wrote:
> >
> > 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.
> > I can link debug objects and run OK, but it is huge: link need about 14
> GB memory and takes 3 minutes of time.
> > 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?
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at lists.llvm.org
> > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200917/63bf1191/attachment.html>
More information about the cfe-dev
mailing list