After updating LLVM/MLIR, it seems that there are rather important changes in the build configuration.
In the generated code, when an assertion fails, we no longer have the call stack, only a core dump…
Also, I can’t find in the build folder the file containing the configuration call.
The command I used to compile is normally the following:
cmake -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_BUILD_EXAMPLES=ON -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_INSTALL_PREFIX=/Users/dpotop/llvm -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_C_COMPILER=clang-mp-9.0 -DCMAKE_CXX_COMPILER=clang++-mp-9.0 -DCMAKE_ASM_COMPILER=clang-mp-9.0 -DCMAKE_CXX_FLAGS_DEBUG="-fno-omit-frame-pointer -fsanitize=address" -DCMAKE_LINKER_FLAGS_DEBUG="-fno-omit-frame-pointer -fsanitize=address" ../llvm
It normally compiles with AddressSanitizer enabled, but right now this is clearly not working.
Please, let us know how to enable again AddressSanitizer and the printing of the call stack.