jimingham wrote:

The console logs for the bots usually have the CMake  command used to configure 
the tree for the test.  The one I referred to above has:

'/usr/local/bin/cmake' '-G' 'Ninja' 
'/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/llvm'
 '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON' 
'-DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64' 
'-DCMAKE_INSTALL_PREFIX=/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/lldb-install'
 '-DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja' 
'-DLLDB_TEST_USER_ARGS=--build-dir;/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/lldb-build/lldb-test-build.noindex;-t;--env;TERM=vt100'
 '-DLLDB_ENFORCE_STRICT_TEST_REQUIREMENTS=On' '-DLLDB_ENABLE_PYTHON=On' 
'-DLLDB_ENABLE_LZMA=Off' '-DLIBCXX_HARDENING_MODE=none' 
'-DLLVM_ENABLE_ASSERTIONS:BOOL=TRUE' '-DLLVM_ENABLE_MODULES=Off' 
'-DLLVM_ENABLE_PROJECTS=clang;lld;lldb' '-DLLVM_LIT_ARGS=-v --time-tests 
--shuffle 
--xunit-xml-output=/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/test/results.xml
 -v -j 3 --timeout 1200' '-DLLVM_VERSION_PATCH=99' 
'-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi;libunwind' 
'-DLLVM_TARGETS_TO_BUILD=X86' '-DLLVM_USE_SANITIZER=Address;Undefined'

I think the only part of that that's relevant for you is 
`-DLLVM_USE_SANITIZER=Address;Undefined` - you should be able to just add that 
to your CMakery, then run the test.

https://github.com/llvm/llvm-project/pull/90930
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to