about summary refs log tree commit diff
path: root/src/librustc_trans/debuginfo/create_scope_map.rs
AgeCommit message (Collapse)AuthorLines
2018-05-17Rename trans to codegen everywhere.Irina Popa-136/+0
2018-01-14rustc_trans: rename ccx to cx.Eduard-Mihai Burtescu-8/+8
2018-01-14rustc_trans: rename CrateContext to CodegenCx.Eduard-Mihai Burtescu-3/+3
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-1/+1
Like #43008 (f668999), but _much more aggressive_.
2017-04-26Implement a file-path remapping feature in support of debuginfo and ↵Michael Woerister-10/+13
reproducible builds.
2017-04-11store Spans for all MIR localsAriel Ben-Yehuda-1/+1
2017-01-04Purge FunctionContextMark Simulacrum-3/+3
2016-12-20Move debug_context to MirContext from FunctionContextMark Simulacrum-2/+2
2016-12-20Remove lifetime parameterMark Simulacrum-4/+2
2016-12-20Remove Ref::clone for MirContext mirMark-Simulacrum-2/+1
2016-12-20Inline FunctionContext.mirMark-Simulacrum-2/+5
2016-12-20Unbox FunctionDebugContextData.Mark-Simulacrum-1/+1
It is only a pointer and a Cell, which is quite small.
2016-10-28rustc: move the MIR map into TyCtxt.Eduard Burtescu-1/+1
2016-10-28rustc: move mir::repr::* to mir.Eduard Burtescu-1/+1
2016-09-26Rename MIR local iterators to match conventionJonas Schievink-1/+1
2016-09-26[WIP] Move MIR towards a single kind of localJonas Schievink-2/+3
2016-08-25Fix debug line info for macro expansions. Vadim Chugunov-8/+40
Macro expansions produce code tagged with debug locations that are completely different from the surrounding expressions. This wrecks havoc on debugger's ability the step over source lines. In order to have a good line stepping behavior in debugger, we overwrite debug locations of macro expansions with that of the outermost expansion site.
2016-08-24rustc_trans: remove the bulk of old trans and most of its support code.Eduard Burtescu-446/+1
2016-08-03begin auditing the C++ types in RustWrapperAriel Ben-Yehuda-3/+3
2016-07-08Merge PatKind::QPath into PatKind::Path in HIRVadim Petrochenkov-1/+1
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-1/+1
2016-06-16Add an abs_path member to FileMap, use it when writing debug info.Ted Mielczarek-3/+3
When items are inlined from extern crates, the filename in the debug info is taken from the FileMap that's serialized in the rlib metadata. Currently this is just FileMap.name, which is whatever path is passed to rustc. Since libcore and libstd are built by invoking rustc with relative paths, they wind up with relative paths in the rlib, and when linked into a binary the debug info uses relative paths for the names, but since the compilation directory for the final binary, tools trying to read source filenames will wind up with bad paths. We noticed this in Firefox with source filenames from libcore/libstd having bad paths. This change stores an absolute path in FileMap.abs_path, and uses that if available for writing debug info. This is not going to magically make debuggers able to find the source, but it will at least provide sensible paths.
2016-06-11Remove last traces of identifier hygiene from HIRVadim Petrochenkov-2/+2
2016-06-09introduce the type-safe IdxVec and use it instead of loose indexesAriel Ben-Yehuda-10/+10
2016-06-07mir: group span + visibility scope under a new SourceInfo type.Eduard Burtescu-1/+1
2016-06-07mir: distinguish between variable visibility scopes and SEME scopes.Eduard Burtescu-7/+7
2016-05-28Refactor away some functions from hir::pat_utilVadim Petrochenkov-4/+1
2016-05-28Separate bindings from other patterns in HIRVadim Petrochenkov-66/+56
2016-05-26Implement `..` in tuple (struct) patternsVadim Petrochenkov-6/+4
2016-05-16Remove hir::IdentVadim Petrochenkov-3/+3
2016-04-24thread tighter span for closures aroundNiko Matsakis-1/+1
Track the span corresponding to the `|...|` part of the closure.
2016-04-16debuginfo: argument and upvar names for MIR.Eduard Burtescu-12/+19
2016-04-11trans: initial implementation of MIR debuginfo.Eduard Burtescu-4/+77
2016-04-06rustc: move middle::{def,def_id,pat_util} to hir.Eduard Burtescu-1/+1
2016-04-06rustc: dismantle hir::util, mostly moving functions to methods.Eduard Burtescu-1/+1
2016-04-06rustc: move rustc_front to rustc::hir.Eduard Burtescu-3/+2
2016-03-31librustc_trans: use bug!(), span_bug!()Benjamin Herr-1/+1
2016-03-27rustc_trans: move the contents of the trans module to top-level.Eduard Burtescu-0/+481