search for: verifydisableabibreakingchecks

Displaying 3 results from an estimated 3 matches for "verifydisableabibreakingchecks".

2018 Jun 01
3
[Kaleidoscope] symbol(s) not found during compiling
...R/Type.h" #include "llvm/IR/Verifier.h" """ """error $ g++ -I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib -std=c++11 k-lang.cc Undefined symbols for architecture x86_64: "llvm::DisableABIBreakingChecks", referenced from: llvm::VerifyDisableABIBreakingChecks in k-lang-14fa17.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) """ My OS is MacOS High Sierra v10.13.3 Source Codes could be viewed on: [GitHub]( https://github.com/Higuoxing/llvm-playground) I am...
2016 Nov 16
2
[RFC] Runtime checks for ABI breaking build of LLVM
...ersal 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 EnableABIBreakingChecks; > #else > int DisableABIBreakingChecks; > #endif > > in Error.cpp. > > Then it'll only link if Erro...
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),