[cfe-dev] LInk with/without LLVM_ENABLE_ABI_BREAKING_CHECKS

David Blaikie via cfe-dev cfe-dev at lists.llvm.org
Thu Sep 17 14:03:28 PDT 2020


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


More information about the cfe-dev mailing list