[msandr] Add debugging instructions to README.txt.

llvm-svn: 190680
This commit is contained in:
Evgeniy Stepanov 2013-09-13 11:00:50 +00:00
parent 9fd5e53f1d
commit 8f0b7feb4c

View File

@ -32,3 +32,9 @@ Running:
<path_to_dynamorio>/exports/bin64/drrun -c lib/clang/$VERSION/lib/linux/libclang_rt.msandr-x86_64.so -- test_binary
MSan unit tests contain several tests for MSanDR (use MemorySanitizerDr.* gtest filter).
Debugging:
Add -DCMAKE_BUILD_TYPE=Debug to the first and/or second cmake invocation(s).
Add -debug -v to drrun invocation line (right before -c).
Add -checklevel 1 to drrun (as the first argument) to make debug DR faster.