summary refs log tree commit diff
path: root/src/comp/middle/debuginfo.rs
AgeCommit message (Collapse)AuthorLines
2012-01-19rustc: ";" to "," in enumsPatrick Walton-8/+8
2012-01-19rustc: "tag" -> "enum"Patrick Walton-1/+1
2012-01-19Remove support for the '.' after a nullary tag in a patternTim Chevalier-1/+1
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-46/+46
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-19rustc: Use integer from ctypes consistentlyHaitao Li-2/+2
2012-01-19Use ctypes in native function declarationsHaitao Li-2/+2
2012-01-17Allow omission of the '.' after nullary tag patternsTim Chevalier-3/+5
This commit allows patterns like: alt x { some(_) { ... } none { } } without the '.' after none. The parser suspends judgment about whether a bare ident is a tag or a new bound variable; instead, the resolver disambiguates. This means that any code after resolution that pattern-matches on patterns needs to call pat_util::normalize_pat, which consults an environment to do this disambiguation. In addition, local variables are no longer allowed to shadow tag names, so this required changing some code (e.g. renaming variables named "mut", and renaming ast::sub to subtract). The parser currently accepts patterns with and without the '.'. Once the compiler and libraries are changed, it will no longer accept the '.'.
2012-01-13Undo over-enthusiastic obj system removal in debuginfo.Josh Matthews-0/+3
2012-01-13llvm: Switch back to LLVM trunkBrian Anderson-1/+1
2012-01-13Obj system? What obj system?Marijn Haverbeke-3/+0
Removes the obj system from the compiler. Closes #1484
2012-01-13Remove all remaining uses of objs from the compilerMarijn Haverbeke-3/+3
2012-01-12Make driver::session::session no longer an objectMarijn Haverbeke-15/+16
Rather, it is now a struct where properties like opts are accessed directly, and the error-reporting methods are part of a static impl (with the same name as the type).
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-2/+2
And remove support for the old syntax
2012-01-05Add more item types to the ast_map so the test suite can build with debug info.Josh Matthews-1/+1
2011-12-29split proto from fn_decl, as not all fn_decls know the proto.Niko Matsakis-1/+1
this will address the (crashing) new test added.
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-4/+4
2011-12-22Merge branch 'master' of github.com:graydon/rustGraydon Hoare-7/+7
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-5/+5
#debug.
2011-12-22Unify some data structures in syntax::ast that were doing the same thingMarijn Haverbeke-7/+7
As a preparation to removing some duplication in typeck.
2011-12-22Add ty::new_ty_hash, clean up comparing of ty::t'sMarijn Haverbeke-4/+3
2011-12-21Make { || ... } sugar for any type of closure, inferredNiko Matsakis-0/+3
2011-12-19Properly calculate base working dir for compile units.Josh Matthews-4/+9
2011-12-19Long lines.Josh Matthews-9/+12
2011-12-19Fix merge error and rebasing changes for debug information.Josh Matthews-4/+6
2011-12-18Remove source line generation craziness. Ensure incorrect subprogram caches ↵Josh Matthews-88/+57
are not conflated. Generate ast_map entries for object members and resource constructors and destructors.
2011-12-18Hide extended, unfinished debug information behind --xg compiler flag.Josh Matthews-3/+8
2011-12-18Clean up some names and factor out some common code.Josh Matthews-210/+161
2011-12-18Add support for vectors.Josh Matthews-63/+72
2011-12-18Add record debug information.Josh Matthews-20/+169
2011-12-18Fix up ast types after literal changes.Josh Matthews-12/+14
2011-12-18Add debug information for boxed and unique values.Josh Matthews-22/+163
2011-12-18Handle inferred basic types when generating debug information for types.Josh Matthews-1/+14
2011-12-18Add argument metadata and aborted return value code.Josh Matthews-7/+110
2011-12-18Use proper size and alignment of types for debuginfo.Josh Matthews-20/+23
2011-12-18Fix up local variable support so it actually works.Josh Matthews-9/+13
2011-12-18Fix up subprogram composite type nodes, and lexical block context nodes.Josh Matthews-9/+34
2011-12-18Fix LLVM assertions when lowering log statements.Josh Matthews-10/+41
2011-12-18Build fix.Josh Matthews-4/+7
2011-12-18Add debug info for local vars, basic fundamental types, and lexical blocks, ↵Josh Matthews-53/+247
along with source line information generation for individual instructions.
2011-12-18Generate basic debug info for files, functions and compile units.Josh Matthews-0/+192