about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/debuginfo/metadata.rs
AgeCommit message (Collapse)AuthorLines
2018-10-09codegen_llvm/misc: convert string literals with to_ownedljedrz-5/+5
2018-10-09codegen_llvm/misc: improve common patternsljedrz-24/+23
2018-10-09codegen_llvm/misc: remove explicit returnsljedrz-3/+3
2018-10-09codegen_llvm/misc: whitespace & formatting improvementsljedrz-15/+15
2018-09-14Remove LLVM 3.9 workaround.Unknown-7/+1
2018-08-23use String::new() instead of String::from(""), "".to_string(), "".to_owned() ↵Matthias Krüger-2/+2
or "".into()
2018-08-22Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str}varkor-12/+12
2018-08-22Remove Ty prefix from Ty{Foreign|Param}varkor-1/+1
2018-08-22Remove Ty prefix from ↵varkor-22/+22
Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closure|Generator|GeneratorWitness|Never|Tuple|Projection|Anon|Infer|Error}
2018-08-22miri/CTFE refactorRalf Jung-0/+1
* Value gets renamed to Operand, so that now interpret::{Place, Operand} are the "dynamic" versions of mir::{Place, Operand}. * Operand and Place share the data for their "stuff is in memory"-base in a new type, MemPlace. This also makes it possible to give some more precise types in other areas. Both Operand and MemPlace have methods available to project into fields (and other kinds of projections) without causing further allocations. * The type for "a Scalar or a ScalarPair" is called Value, and again used to give some more precise types. * All of these have versions with an attached layout, so that we can more often drag the layout along instead of recomputing it. This lets us get rid of `PlaceExtra::Downcast`. MPlaceTy and PlaceTy can only be constructed in place.rs, making sure the layout is handled properly. (The same should eventually be done for ValTy and OpTy.) * All the high-level functions to write typed memory take a Place, and live in place.rs. All the high-level typed functions to read typed memory take an Operand, and live in operands.rs.
2018-08-19mv FileMap SourceFileDonato Sciarra-1/+1
2018-08-10Introduce SmallCStr and use it where applicable.Michael Woerister-38/+36
2018-08-10Introduce const_cstr!() macro and use it where applicable.Michael Woerister-2/+2
2018-08-09Move Fingerprint to data structuresMark Rousskov-1/+2
2018-08-09Move path2cstr to rustc_fs_utilMark Rousskov-1/+1
2018-07-30rustc_codegen_llvm: use safe references for Value.Irina Popa-8/+13
2018-07-30rustc_codegen_llvm: use safe references for Metadata and DI*.Irina Popa-175/+212
2018-07-30rustc_codegen_llvm: use safe references for Context and Module.Irina Popa-1/+1
2018-07-30rustc_codegen_llvm: move from empty enums to extern types.Irina Popa-28/+30
2018-07-29Replace push loops with collect() and extend() where possibleljedrz-12/+11
2018-06-30Fortify dummy span checkingVadim Petrochenkov-1/+1
2018-05-26Use `Ident`s for fields in HIRVadim Petrochenkov-3/+3
2018-05-24Add constant for `Size::from_bytes(0)`Oliver Schneider-6/+6
2018-05-17Fixed accidental removal of StableHasher declaration.iancormac84-0/+1
2018-05-17Removed use of TypeIdHasher in debuginfo and replaced it with StableHasher. ↵iancormac84-6/+10
Also corrected erroneous mention of TypeIdHasher in implementation of HashStable trait.
2018-05-17Rename trans to codegen everywhere.Irina Popa-0/+1773