Displaying 3 results from an estimated 3 matches for "verifyenableabibreakingcheck".
Did you mean:
verifyenableabibreakingchecks
2016 Nov 16
2
[RFC] Runtime checks for ABI breaking build of LLVM
...;> enabled or not.
>
> Can it be made into a link-time check instead? I'm imagining something like:
I’d love to, but didn’t find a universal solution unfortunately :(
> #if LLVM_ENABLE_ABI_BREAKING_CHECKS
> extern int EnableABIBreakingChecks;
> __attribute__((weak)) int *VerifyEnableABIBreakingChecks = &EnableABIBreakingChecks;
> #else
> extern int DisableABIBreakingChecks;
> __attribute__((weak)) int *VerifyDisableABIBreakingChecks = &VDisableABIBreakingChecks;
> #endif
>
> in llvm-config.h.cmake, and:
>
> #if LLVM_ENABLE_ABI_BREAKING_CHECKS
> int En...
2019 Mar 22
2
undefined symbol EnableABIBreakingChecks
...#39;t point me in any
direction:
A simple grep over the LLVM source gives the same output for LLVM 6.0
and LLVM 8.0:
include/llvm/Config/abi-breaking.h.cmake:extern int EnableABIBreakingChecks;
include/llvm/Config/abi-breaking.h.cmake:__attribute__((weak, visibility
("hidden"))) int *VerifyEnableABIBreakingChecks = &EnableABIBreakingChecks;
lib/Support/Error.cpp:int EnableABIBreakingChecks;
What am I missing here?
Best,
Frank
2016 Nov 16
4
[RFC] Runtime checks for ABI breaking build of LLVM
Hi all,
An issue that come up from time to time and has cost hours for debug for many of us and users of LLVM is that an assert build isn’t ABI compatible with a release build.
The CMake flags that controls this behavior is LLVM_ABI_BREAKING_CHECKS (
LLVM_ABI_BREAKING_CHECKS:STRING
Used to decide if LLVM should be built with ABI breaking checks or not. Allowed values are WITH_ASSERTS (default),