[LNT] r266694 - Some docs about diagnositic reports

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 18 15:53:18 PDT 2016


Author: cmatthews
Date: Mon Apr 18 17:53:18 2016
New Revision: 266694

URL: http://llvm.org/viewvc/llvm-project?rev=266694&view=rev
Log:
Some docs about diagnositic reports

Modified:
    lnt/trunk/docs/tests.rst

Modified: lnt/trunk/docs/tests.rst
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/docs/tests.rst?rev=266694&r1=266693&r2=266694&view=diff
==============================================================================
--- lnt/trunk/docs/tests.rst (original)
+++ lnt/trunk/docs/tests.rst Mon Apr 18 17:53:18 2016
@@ -284,3 +284,24 @@ Full example using ``llvmlab`` to debug
       --cflags '-O3 -mthumb -mcpu=cortex-a57' \
       --single-result MultiSource/Benchmarks/TSVC/Expansion-flt/Expansion-flt \
       --single-result-predicate 'exec_time > 8.0'
+
+
+Producing Diagnositic Reports
++++++++++++++++++++++++++++++
+
+The test-suite module can produce a diagnostic report which might be useful
+for figuring out what is going on with a benchmark::
+
+  $ lnt runtest test-suite \
+         --sandbox /tmp/BAR \
+         --cc ~/llvm.obj.64/Release+Asserts/bin/clang \
+         --cxx ~/llvm.obj.64/Release+Asserts/bin/clang++ \
+         --use-cmake=/usr/local/bin/cmake \
+         --use-lit=~/llvm/utils/lit/lit.py \
+         --test-suite ~/llvm-test-suite \
+         --cmake-cache Release \
+         --diagnose --only-test SingleSource/Benchmarks/Stanford/Bubblesort
+
+This will run the test-suite many times over, collecting useful information
+in a report directory. The report collects many things like execution profiles,
+compiler time reports, intermediate files, binary files, and build information.




More information about the llvm-commits mailing list