| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-17 | Generating the coverage map | Rich Kadel | -0/+12 | |
| rustc now generates the coverage map and can support (limited) coverage report generation, at the function level. Example: $ BUILD=$HOME/rust/build/x86_64-unknown-linux-gnu $ $BUILD/stage1/bin/rustc -Zinstrument-coverage \ $HOME/rust/src/test/run-make-fulldeps/instrument-coverage/main.rs $ LLVM_PROFILE_FILE="main.profraw" ./main called $ $BUILD/llvm/bin/llvm-profdata merge -sparse main.profraw -o main.profdata $ $BUILD/llvm/bin/llvm-cov show --instr-profile=main.profdata main 1| 1|pub fn will_be_called() { 2| 1| println!("called"); 3| 1|} 4| | 5| 0|pub fn will_not_be_called() { 6| 0| println!("should not have been called"); 7| 0|} 8| | 9| 1|fn main() { 10| 1| let less = 1; 11| 1| let more = 100; 12| 1| 13| 1| if less < more { 14| 1| will_be_called(); 15| 1| } else { 16| 1| will_not_be_called(); 17| 1| } 18| 1|} | ||||
| 2020-04-02 | nix rustc_target::abi::* reexport in ty::layout | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -1/+1 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -1/+1 | |
| 2019-10-27 | Always use consteval to codegen caller_location. | Adam Perry | -2/+0 | |
| 2019-10-27 | Panicking infra uses &core::panic::Location. | Adam Perry | -9/+0 | |
| This allows us to remove `static_panic_msg` from the SSA<->LLVM boundary, along with its fat pointer representation for &str. Also changes the signature of PanicInfo::internal_contructor to avoid copying. Closes #65856. | ||||
| 2019-10-27 | Implement core::intrinsics::caller_location. | Adam Perry | -0/+2 | |
| Returns a `&core::panic::Location` corresponding to where it was called, also making `Location` a lang item. | ||||
| 2019-09-04 | Remove `LocalInternedString` uses from `librustc_codegen_llvm`. | Nicholas Nethercote | -3/+3 | |
| 2019-06-11 | rustc_codegen_*: deny(unused_lifetimes). | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-03-29 | Remove const_{cstr,str_slice,get_elt,get_real} and is_const_real methods ↵ | bjorn3 | -0/+9 | |
| from cg_ssa This introduces the static_panic_msg trait method to StaticBuilderMethods. | ||||
| 2019-03-29 | Misc | bjorn3 | -1/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-11-29 | Move get_static from CodegenCx to Builder | bjorn3 | -1/+4 | |
| 2018-11-29 | Remove static_addr_of_mut from cg_ssa | bjorn3 | -1/+0 | |
| 2018-11-29 | Rename StaticMethods::static_ptrcast to ConstMethods::const_ptrcast | bjorn3 | -1/+0 | |
| 2018-11-29 | Remove static_bitcast from cg_ssa | bjorn3 | -1/+0 | |
| 2018-11-29 | Remove static_replace_all_uses and statics_to_rauw from cg_ssa | bjorn3 | -1/+0 | |
| 2018-11-29 | Make ConstMethods and StaticMethods require BackendTypes instead of Backend | bjorn3 | -2/+2 | |
| 2018-11-16 | [eddyb] rustc_codegen_ssa: rename `interfaces` to `traits`. | Eduard-Mihai Burtescu | -0/+23 | |
