Displaying 5 results from an estimated 5 matches for "llvm_enable_expensive_check".
Did you mean:
llvm_enable_expensive_checks
2020 Sep 17
3
Timeout tests timing out
Hi David,
Unfortunately writing a reliable test is tricky given that the
functionality we're trying to test involves timing. I would advise
against disabling the test entirely because it actually tests
functionality that people use. I'd suggest bumping up the time limits.
This is what I've done in the past. See
commit 6dfcc78364fa3e8104d6e6634733863eb0bf4be8
Author: Dan Liew <dan
2020 Sep 18
2
Timeout tests timing out
...ints here. I haven't needed to touch the code
or tests since 2018. I haven't been asked to review any patches
related to the timeout feature since then so I presume nobody has
touched it since.
> Another option might be to reduce how often/in which configurations
> the test is run - LLVM_ENABLE_EXPENSIVE_CHECKS presumably only works
> for code within LLVM itself, and not test cases - but maybe I'm wrong
> there & this parameter could be used (& then the timing bumped up
> quite a bit to try to make it much more reliable), or something
> similar could be implemented at the lit chec...
2019 Oct 02
2
SourceMgr vs EXPENSIVE_CHECKS
...KS enabled and running into various errors compiling
>> >> SourceMgr.cpp, depending on which host compiler I use.
>> >>
>> >> For example with GCC:
>> >>
>> >> $ CC=gcc-8 CXX=g++-8 cmake -GNinja -DCMAKE_BUILD_TYPE=Debug
>> >> -DLLVM_ENABLE_EXPENSIVE_CHECKS=ON ~/git/llvm-project/llvm/ && ninja
>> >> ...
>> >> [89/2690] Building CXX object
>> >> lib/Support/CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o
>> >> FAILED: lib/Support/CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o
>> >> /usr/lib/cc...
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a
/lot/ of errors like this (strangely I hit none of these in check-llvm,
only in check-clang):
Any ideas?
==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes
at address 0x631000014800
==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
...C++1y enabled.
LLVM_ENABLE_CXX1Y:BOOL=OFF
//Debug: Prints tablegen patterns that were used for selecting
LLVM_ENABLE_DAGISEL_COV:BOOL=OFF
//Use doxygen to generate llvm API documentation.
LLVM_ENABLE_DOXYGEN:BOOL=OFF
//Enable Exception handling
LLVM_ENABLE_EH:BOOL=OFF
//Enable expensive checks
LLVM_ENABLE_EXPENSIVE_CHECKS:BOOL=OFF
//Use libffi to call external functions from the interpreter
LLVM_ENABLE_FFI:BOOL=OFF
//Use libc++ if available.
LLVM_ENABLE_LIBCXX:BOOL=OFF
//Use libedit if available.
LLVM_ENABLE_LIBEDIT:BOOL=ON
//Use lld as C and C++ linker.
LLVM_ENABLE_LLD:BOOL=OFF
//Compile with -fmodules-local-...