rust/src
whitequark 42754ce710 Add profiling support, through the rustc -Z profile flag.
When -Z profile is passed, the GCDAProfiling LLVM pass is added
to the pipeline, which uses debug information to instrument the IR.
After compiling with -Z profile, the $(OUT_DIR)/$(CRATE_NAME).gcno
file is created, containing initial profiling information.
After running the program built, the $(OUT_DIR)/$(CRATE_NAME).gcda
file is created, containing branch counters.

The created *.gcno and *.gcda files can be processed using
the "llvm-cov gcov" and "lcov" tools. The profiling data LLVM
generates does not faithfully follow the GCC's format for *.gcno
and *.gcda files, and so it will probably not work with other tools
(such as gcov itself) that consume these files.
2017-05-01 09:16:20 +00:00
..
bootstrap Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
build_helper Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin. 2017-04-25 10:31:01 +08:00
ci ci: Update sccache build 2017-04-29 00:29:54 -07:00
compiler-rt@c8a8767c56 support `default impl` for specialization 2017-04-25 05:28:22 +00:00
doc Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
driver
etc Auto merge of #41575 - alexcrichton:android-qemu-server, r=TimNN 2017-04-28 16:10:08 +00:00
grammar Auto merge of #41508 - michaelwoerister:generic-path-remapping, r=alexcrichton 2017-04-28 12:09:37 +00:00
jemalloc@11bfb0dcf8 support `default impl` for specialization 2017-04-25 05:28:22 +00:00
liballoc Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
liballoc_jemalloc Specialize Vec::from_elem<u8> to use calloc or memset 2017-04-15 09:01:56 -07:00
liballoc_system Specialize Vec::from_elem<u8> to use calloc or memset 2017-04-15 09:01:56 -07:00
libarena
libbacktrace
libcollections FromIterator and Extend Cow for String 2017-04-28 22:30:12 -04:00
libcompiler_builtins Auto merge of #40123 - TimNN:llvm40, r=alexcrichton 2017-04-24 22:18:16 +00:00
libcore Auto merge of #41602 - hsivonen:explainnonnull, r=steveklabnik 2017-04-30 07:58:10 +00:00
libflate Add/remove `rerun-if-changed` when necessary 2017-03-04 21:38:26 +03:00
libfmt_macros
libgetopts
libgraphviz Fix various useless derefs and slicings 2017-03-27 08:58:00 +02:00
liblibc@c34a802d1e support `default impl` for specialization 2017-04-25 05:28:22 +00:00
libpanic_abort
libpanic_unwind
libproc_macro Add doc attributes to proc_macro crate 2017-03-12 02:54:43 +00:00
libproc_macro_plugin Improve the `TokenStream` quoter. 2017-03-15 23:05:02 +00:00
libprofiler_builtins Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
librand Avoid to use floating point match 2017-04-14 03:39:03 +02:00
librustc Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
librustc_asan Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin. 2017-04-25 10:31:01 +08:00
librustc_back Rollup merge of #41456 - jessicah:haiku-support, r=alexcrichton 2017-04-26 22:11:03 +00:00
librustc_bitflags
librustc_borrowck Adding documentation, indentation fixes 2017-04-28 03:58:04 -07:00
librustc_const_eval query for describe_def 2017-04-27 13:27:16 -05:00
librustc_const_math rustc_const_eval: always demand typeck_tables for evaluating constants. 2017-02-25 18:35:26 +02:00
librustc_data_structures Haiku: fix initial platform support 2017-04-22 13:47:36 +12:00
librustc_driver Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
librustc_errors typeck: resolve type vars before calling `try_index_step` 2017-04-27 16:44:27 +03:00
librustc_incremental Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
librustc_lint do not access `associated_item` map directly 2017-04-28 04:15:03 -04:00
librustc_llvm Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
librustc_lsan Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin. 2017-04-25 10:31:01 +08:00
librustc_metadata Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
librustc_mir rustc: use tcx.at(span) to set the location of a query. 2017-04-24 18:06:39 +03:00
librustc_msan Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin. 2017-04-25 10:31:01 +08:00
librustc_passes rustc: rename some of the queries to match tcx methods. 2017-04-24 15:20:52 +03:00
librustc_platform_intrinsics Auto merge of #38561 - nagisa:rdrandseed, r=alexcrichton 2017-02-14 01:26:10 +00:00
librustc_plugin kill a bunch of one off tasks 2017-04-18 08:20:12 -04:00
librustc_privacy Auto merge of #41504 - eddyb:query-api, r=nikomatsakis 2017-04-26 09:54:11 +00:00
librustc_resolve refac Move levenchstein before context dependent check 2017-04-28 20:40:11 +02:00
librustc_save_analysis Auto merge of #41368 - nikomatsakis:incr-comp-dep-tracking-map, r=eddyb 2017-04-28 18:53:24 +00:00
librustc_trans Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
librustc_tsan Support AddressSanitizer and ThreadSanitizer on x86_64-apple-darwin. 2017-04-25 10:31:01 +08:00
librustc_typeck refactor the handling of lvalue ops 2017-04-30 15:49:04 +03:00
librustdoc Auto merge of #41508 - michaelwoerister:generic-path-remapping, r=alexcrichton 2017-04-28 12:09:37 +00:00
libserialize Only SwitchInt over integers, not all consts 2017-02-10 19:42:41 +02:00
libstd Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
libstd_unicode Remove parentheses in method references 2017-03-30 18:33:23 -04:00
libsyntax Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
libsyntax_ext support `default impl` for specialization 2017-04-24 10:08:48 +00:00
libsyntax_pos Implement a file-path remapping feature in support of debuginfo and reproducible builds. 2017-04-26 15:44:02 +02:00
libterm Update usages of 'OSX' (and other old names) to 'macOS'. 2017-03-12 14:59:04 -04:00
libtest Fix links 2017-04-04 15:39:44 -04:00
libunwind Haiku: fix initial platform support 2017-04-22 13:47:36 +12:00
llvm@15745af768 Update LLVM to fix incorrect codegen on MSP430. 2017-04-27 08:40:27 +03:00
rt support `default impl` for specialization 2017-04-25 05:28:22 +00:00
rtstartup Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
rust-installer@4f99485080
rustc Fix plain_summary_line function 2017-03-28 11:38:56 -06:00
rustllvm Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
test Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
tools Auto merge of #41544 - alexcrichton:bump-bootstrap, r=brson 2017-04-29 20:38:15 +00:00
Cargo.lock Add profiling support, through the rustc -Z profile flag. 2017-05-01 09:16:20 +00:00
Cargo.toml Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00
stage0.txt Update stage0 bootstrap compiler 2017-04-29 12:11:14 -07:00