| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-09 | Avoid unnecessary interning of enum variant part id | Tomasz Miąsko | -4/+1 | |
| 2020-03-09 | Use slices in preference to 0-terminated strings | Tomasz Miąsko | -126/+155 | |
| Additionally whenever possible match C API provided by the LLVM. | ||||
| 2020-03-08 | Rollup merge of #69734 - tmiasko:di-enumerator, r=ecstatic-morse | Mazdak Farrokhzad | -7/+16 | |
| Change DIBuilderCreateEnumerator signature to match LLVM 9 * Change DIBuilderCreateEnumerator signature to match LLVM 9 C API. * Use provided is unsigned flag when emitting enumerators. | ||||
| 2020-03-07 | Rollup merge of #69773 - matthiaskrgr:typos, r=petrochenkov | Mazdak Farrokhzad | -1/+1 | |
| fix various typos | ||||
| 2020-03-06 | fix various typos | Matthias Krüger | -1/+1 | |
| 2020-03-05 | debuginfo: Use is unsigned flag when emitting enumerators | Tomasz Miąsko | -1/+6 | |
| 2020-03-05 | debuginfo: Generators use u32 as discriminant type repr | Tomasz Miąsko | -3/+3 | |
| 2020-03-05 | Change DIBuilderCreateEnumerator signature to match LLVM 9 | Tomasz Miąsko | -6/+10 | |
| No functional changes intended. | ||||
| 2020-03-03 | Remove the `no_debug` feature | Yuki Okushi | -12/+1 | |
| 2020-03-01 | Rollup merge of #69569 - matthiaskrgr:nonminimal_bool, r=mark-Simulacrum | Dylan DPC | -1/+1 | |
| simplify boolean expressions | ||||
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -3/+3 | |
| 2020-02-29 | simplify boolean expressions | Matthias Krüger | -1/+1 | |
| 2020-02-09 | Rollup merge of #68881 - eddyb:always-preserve-dbg-vars, r=nagisa | Jonas Schievink | -1/+1 | |
| rustc_codegen_llvm: always set AlwaysPreserve on all debuginfo variables Making this depend on the optimization level appears to have been a copy-paste mistake (other LLVM functions called in this module also take a `bool` argument, but there it means something unrelated). Also see https://github.com/rust-lang/rust/pull/8855#discussion_r374392128. I don't believe we have any reason to let LLVM omit user variables from DWARF, and we were already setting this to `true` when LLVM *could* optimize them away, so this PR should have no effect anyway. r? @michaelwoerister or @nagisa cc @hanna-kruppe @nikomatsakis | ||||
| 2020-02-08 | rustc_codegen_ssa: remove unnecessary source_locations_enabled. | Eduard-Mihai Burtescu | -33/+8 | |
| 2020-02-08 | rustc_codegen_llvm: remove InternalDebugLocation and simplify dbg_var_addr. | Eduard-Mihai Burtescu | -64/+35 | |
| 2020-02-08 | rustc_codegen_llvm: remove unnecessary special-casing of root scopes' children. | Eduard-Mihai Burtescu | -8/+2 | |
| 2020-02-06 | rustc_codegen_llvm: always set AlwaysPreserve on all debuginfo variables. | Eduard-Mihai Burtescu | -1/+1 | |
| 2020-02-03 | rustc_codegen_llvm: avoid redundant calls to span_start. | Eduard-Mihai Burtescu | -4/+4 | |
| 2020-02-03 | rustc_codegen_ssa: split declare_local into create_dbg_var and dbg_var_addr. | Eduard-Mihai Burtescu | -33/+51 | |
| 2020-01-10 | Remove PlaceBase enum and make Place base field be local: Local | Santiago Pastorino | -2/+2 | |
| 2020-01-06 | Auto merge of #67886 - Centril:rustc_hir_canon_imports, r=nagisa | bors | -5/+5 | |
| Nix `rustc_hir` reexports in rustc::hir r? @Zoxc cc @Mark-Simulacrum | ||||
| 2020-01-05 | Rename Instance.ty to Instance.monomorphic_ty | Aaron Hill | -1/+1 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -5/+5 | |
| 2020-01-04 | DefId{Map,Set} -> rustc::hir::def_id | Mazdak Farrokhzad | -2/+1 | |
| 2020-01-04 | canonicalize FxHash{Map,Set} imports | Mazdak Farrokhzad | -2/+3 | |
| 2020-01-04 | extract rustc::middle::codegen_fn_attrs | Mazdak Farrokhzad | -2/+2 | |
| 2020-01-02 | Normalize `syntax::symbol` imports. | Mazdak Farrokhzad | -3/+3 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -20/+20 | |
| 2019-12-24 | x.py fmt after previous deignore | Mark Rousskov | -733/+713 | |
| 2019-12-22 | Format the world | Mark Rousskov | -173/+152 | |
| 2019-12-11 | rustc: Link LLVM directly into rustc again | Alex Crichton | -0/+6 | |
| This commit builds on #65501 continue to simplify the build system and compiler now that we no longer have multiple LLVM backends to ship by default. Here this switches the compiler back to what it once was long long ago, which is linking LLVM directly to the compiler rather than dynamically loading it at runtime. The `codegen-backends` directory of the sysroot no longer exists and all relevant support in the build system is removed. Note that `rustc` still supports a dynamically loaded codegen backend as it did previously, it just no longer supports dynamically loaded codegen backends in its own sysroot. Additionally as part of this the `librustc_codegen_llvm` crate now once again explicitly depends on all of its crates instead of implicitly loading them through the sysroot. This involved filling out its `Cargo.toml` and deleting all the now-unnecessary `extern crate` annotations in the header of the crate. (this in turn required adding a number of imports for names of macros too). The end results of this change are: * Rustbuild's build process for the compiler as all the "oh don't forget the codegen backend" checks can be easily removed. * Building `rustc_codegen_llvm` is much simpler since it's simply another compiler crate. * Managing the dependencies of `rustc_codegen_llvm` is much simpler since it's "just another `Cargo.toml` to edit" * The build process should be a smidge faster because there's more parallelism in the main rustc build step rather than splitting `librustc_codegen_llvm` out to its own step. * The compiler is expected to be slightly faster by default because the codegen backend does not need to be dynamically loaded. * Disabling LLVM as part of rustbuild is still supported, supporting multiple codegen backends is still supported, and dynamic loading of a codegen backend is still supported. | ||||
| 2019-12-04 | Migrate to LLVM{Get,Set}ValueName2 | Josh Stone | -18/+6 | |
| The deprecated `LLVM{Get,Set}ValueName` only work with NUL-terminated strings, but the `2` variants use explicit lengths, which fits better with Rust strings and slices. We now use these in new helper functions `llvm::{get,set}_value_name` that convert to/from `&[u8]`. | ||||
| 2019-12-03 | rustc_codegen_llvm: rewrite debuginfo::get_function_signature to use FnAbi. | Eduard-Mihai Burtescu | -33/+12 | |
| 2019-12-03 | rustc_codegen_ssa: use FnAbi::of_instance wherever possible. | Eduard-Mihai Burtescu | -3/+10 | |
| 2019-11-27 | rustc: move debug info from LocalDecl and UpvarDecl into a dedicated ↵ | Eduard-Mihai Burtescu | -24/+82 | |
| VarDebugInfo. | ||||
| 2019-11-21 | Applied suggestions from code review. | Alexander Regueiro | -15/+15 | |
| 2019-11-21 | Aggregation of drive-by cosmetic changes. | Alexander Regueiro | -127/+124 | |
| 2019-11-07 | rustc_target: inline abi::FloatTy into abi::Primitive. | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-11-07 | syntax: use distinct FloatTy from rustc_target. | Mazdak Farrokhzad | -3/+3 | |
| We also sever syntax's dependency on rustc_target as a result. This should slightly improve pipe-lining. Moreover, some cleanup is done in related code. | ||||
| 2019-11-02 | Simplify various `Symbol` use points. | Nicholas Nethercote | -3/+3 | |
| Including removing a bunch of unnecessary `.as_str()` calls, and a bunch of unnecessary sigils. | ||||
| 2019-10-31 | rustc_codegen_ssa: hide address ops from the declare_local interface. | Eduard-Mihai Burtescu | -48/+53 | |
| 2019-10-31 | rustc_codegen_ssa: move debuginfo scopes into FunctionDebugContext. | Eduard-Mihai Burtescu | -74/+50 | |
| 2019-10-31 | rustc_codegen_ssa: change set_var_name back to taking a &str. | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-10-31 | rustc_codegen_ssa: move debuginfo-related things to a new mir::debuginfo module. | Eduard-Mihai Burtescu | -12/+13 | |
| 2019-10-23 | Rollup merge of #65657 - nnethercote:rm-InternedString-properly, r=eddyb | Mazdak Farrokhzad | -5/+5 | |
| Remove `InternedString` This PR removes `InternedString` by converting all occurrences to `Symbol`. There are a handful of places that need to use the symbol chars instead of the symbol index, e.g. for stable sorting; local conversions `LocalInternedString` is used in those places. r? @eddyb | ||||
| 2019-10-21 | Convert fields within `DefPathData` from `InternedString` to `Symbol`. | Nicholas Nethercote | -1/+1 | |
| It's a full conversion, except in `DefKey::compute_stable_hash()` where a `Symbol` now is converted to an `InternedString` before being hashed. This was necessary to avoid test failures. | ||||
| 2019-10-21 | Convert some `InternedString`s to `Symbols`. | Nicholas Nethercote | -4/+4 | |
| This avoids the needs for various conversions, and makes the code slightly faster, because `Symbol` comparisons and hashing is faster. | ||||
| 2019-10-16 | Make use of the return value of `HashSet::insert` | Shotaro Yamada | -3/+1 | |
| 2019-10-05 | Rollup merge of #65124 - memoryruins:castaway, r=petrochenkov | Tyler Mandry | -8/+8 | |
| Replace some instances of `as *[const | mut] _` with `.cast()` While in `codegen_llvm`, noticed some places for the recent `pointer::cast` method. | ||||
| 2019-10-05 | Replaces some instances of `as *[const | mut] _` with `.cast()` | memoryruins | -8/+8 | |
