[compiler-rt] r190680 - [msandr] Add debugging instructions to README.txt.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Fri Sep 13 04:00:51 PDT 2013
Author: eugenis
Date: Fri Sep 13 06:00:50 2013
New Revision: 190680
URL: http://llvm.org/viewvc/llvm-project?rev=190680&view=rev
Log:
[msandr] Add debugging instructions to README.txt.
Modified:
compiler-rt/trunk/lib/msandr/README.txt
Modified: compiler-rt/trunk/lib/msandr/README.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msandr/README.txt?rev=190680&r1=190679&r2=190680&view=diff
==============================================================================
--- compiler-rt/trunk/lib/msandr/README.txt (original)
+++ compiler-rt/trunk/lib/msandr/README.txt Fri Sep 13 06:00:50 2013
@@ -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.
+
More information about the llvm-commits
mailing list