1 2002-03-29 Martin Baulig <martin@gnome.org>
3 * AssemblerWriterI386.cs: Rewrote most of the string output function, do the
4 number->string conversion manually. It's now taking about 15 seconds to write
5 a symbol file for MCS, no longer more than a minute.
7 * MonoDwarfFileWriter.cs: Added some profiling code, speeded things up, fixed
10 2002-03-25 Martin Baulig <martin@gnome.org>
12 * MonoDwarfFileWriter.cs (CreateType): Return a `DieType'.
13 (RegisterType): Add the type to the type hash before creating dependency types
14 so we don't get recursion loops.
15 (RegisterPointerType): New func to register a "pointer to type" type.
16 (DieTypeDef, DiePointerType, DieArrayType, DieStringType, DieClassType): New
17 types; added support for strings, arrays and basic support for classes.
19 2002-03-24 Martin Baulig <martin@gnome.org>
21 * IMonoSymbolWriter.cs: Killed all methods in this interface, no longer needed.
23 * MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now takes a string
24 argument which is the full pathname of the assembly - you must call Close()
25 after the assembly has been written to disk since the symbol writer needs to
26 load the finished assembly to get its metadata.
28 * MonoDwarfFileWriter.cs: Added support for enums and structs.
30 2002-03-24 Martin Baulig <martin@gnome.org>
32 * MonoDwarfFileWriter.cs: Added support for method parameters.
34 2002-03-24 Martin Baulig <martin@gnome.org>
36 * IMonoSymbolWriter.cs (IMonoSymbolWriter): Removed my custom OpenMethod(),
37 we're now using the ISymbolWriter's method.
38 (IVariable): Added `byte[] Signature' property.
40 * MonoSymbolWriter.cs (SetAssembly): New method. This must be called before
41 Close(); the assembly parameter is the already-written assembly, ie. it must
42 contain the full metadata.
43 (OpenMethod): Only take the token argument and set MethodInfo later in DoFixups.
44 (SetMethodSourceRange): You must call this function to tell the symbol writer
45 in which source file the method is defined.
46 (DefineLocal): Store the signature in the local.
47 (DoFixups): Use two new interncalls to set the SourceMethod's MethodInfo field
48 and the LocalVariable's Type field.
50 2002-03-23 Martin Baulig <martin@gnome.org>
52 * IMonoSymbolWriter.cs (ISourceBlock): New interface.
53 (ILocalVariable): Renamed this interface to IVariable.
54 (IVariable): Added Line, Type, Token.
55 (ILocalVariable, IMethodParameter): New interfaces, derive from IVariable.
56 (ISourceMethod): Added Blocks. Renamed FirstLine and LastLine to Start and End,
57 changed their type to ISourceLine. Removed CodeSize.
58 (ISourceLine): Renamed Line to Row, added Column. Added OffsetType and Offset.
60 * MonoDwarfFileWriter.cs (MonoDwarfFileWriter.DieLexicalBlock): New class.
61 (MonoDwarfFileWriter.DieMethodVariable): New class.
63 * MonoSymbolWriter.cs (OpenScope, CloseScope): Implemented.
64 Reflected latest IMonoSymbolWriter interface changes.
66 2002-03-20 Martin Baulig <martin@gnome.org>
68 * IAssemblerWriter.cs: New interface.
70 * AssemblerWriterI386.cs: New class.
72 * MonoDwarfFileWriter.cs: Use the IAssemblerWriter interface to make this class
73 platform and assembler independent.
75 2002-03-20 Martin Baulig <martin@gnome.org>
77 * IMonoSymbolWriter.cs (ISourceMethod): Added FirstLine, LastLine, CodeSize and
80 * MonoDwarfFileWriter.cs: Implemented line number support.
82 2002-03-19 Martin Baulig <martin@gnome.org>
84 * IMonoSymbolWriter.cs (ISourceFile, ISourceMethod, ISourceLine, ILocalVariable):
87 * IMonoSymbolWriter.cs (OpenMethod): Take a System.Reflection.MethodInfo, not
90 2002-03-19 Martin Baulig <martin@gnome.org>
92 This is an implementation of the System.Diagnostics.SymbolStore.SymbolWriter
93 interface. It's still work in progress and not yet used anywhere.
95 There is some preliminary documentation in the source files and some more
96 docu in the README and README.relocation-table files.
98 * IMonoSymbolWriter.cs: New file.
99 * MonoDwarfFileWriter.cs: New file.
100 * MonoSymbolDocumentWriter.cs: New file.
101 * MonoSymbolWriter.cs: New file.
103 * README, README.relocation-table: Documentation.