Age | Commit message (Collapse) | Author |
|
* Mono.CSharp.Debugger/: Renamed to Mono.CSharp.CompilerServices.
(the DLL it creates has already been renamed a long time ago).
svn path=/trunk/mcs/; revision=37445
|
|
* MonoSymbolFile.cs (MonoSymbolFile.Write): Sort the method table
before actually writing it to disk and update MethodEntry.Index.
* MonoSymbolTable.cs (MethodEntry.Index): Make this a writable
property; set it after creating all the methods and sorting the
method table.
svn path=/trunk/mcs/; revision=35185
|
|
2004-09-13 Chris Toshok <toshok@ximian.com>
* MonoSymbolFile.cs (MonoSymbolFile.Write): don't sort methods by
token before writing out the method index, since the "index" used
elsewhere is just added to the MethodIndexOffset.
svn path=/trunk/mcs/; revision=35183
|
|
The library is now called Mono.CompilerServices.SymbolWriter.dll
and is in the Mono.CompilerServices.SymbolWriter namespace.
* MonoSymbolFile.cs (MonoDebuggerSupport.GetGuid): New public
static method.
(MonoSymbolFile.WriteString): Use the BinaryWriter's method.
(MonoSymbolFile.ReadString): Use the BinaryReader's method.
(MonoSymbolFile.Write): Write the module's Guid into the symbol
file.
* MonoSymbolTable.cs, MonoSymbolWriter.cs: Reworked the API.
svn path=/trunk/mcs/; revision=31669
|
|
* MonoSymbolFile.cs (MonoSymbolFile.Write): Sort the methods
according to their token values.
(MonoSymbolFile.ReadSymbolFile): Support reading the debugging
information from an external ".mdb" file.
* MonoSymbolTable.cs
(SourceFileEntry): Make the .ctor protected, not internal.
(SourceFileEntry.DefineMethod): This is no longer specific to
System.Reflection(.Emit).
(MethodEntry): We don't need the class and parameter types, the
JIT is already getting this information automatically.
(MethodEntry.ClassTypeIndex): Make this obsolete.
(MethodEntry.ParamTypeIndicies): Likewise.
svn path=/trunk/mcs/; revision=31484
|
|
svn path=/trunk/mcs/; revision=31481
|
|
svn path=/trunk/mcs/; revision=31475
|
|
svn path=/trunk/mcs/; revision=30345
|
|
* MonoSymbolTable.cs
(SourceFileTable.Namespaces): New public property.
svn path=/trunk/mcs/; revision=29931
|
|
Set version number to 37.
svn path=/trunk/mcs/; revision=28680
|
|
* MonoSymbolTable.cs (BuildLineNumberTable): Avoid arraylist.
svn path=/trunk/mcs/; revision=27933
|
|
svn path=/trunk/mcs/; revision=25876
|
|
svn path=/trunk/mcs/; revision=22182
|
|
svn path=/trunk/mcs/; revision=22180
|
|
[NOTE: This change is only forward binary compatible !
This means that this version of the symbol writer can still read
symbol files from the last mono release, but an older version of
the symbol writer can't read the new symbol files.
* MonoSymbolFile.cs (MonoSymbolFile): Removed 'FindMethod' and
'MethodLookup'.
* MonoSymbolTable.cs (MethodEntry): Don't write the method's full
name into the symbol file.
[NOTE: For the moment, the corresponding fields are still being
written into the symbol file. They'll be removed shortly before
the next mono release.]
svn path=/trunk/mcs/; revision=22179
|
|
* MonoSymbolFile.cs (MonoDebuggerSupport): New public class
containing static wrappers for calling the `MonoDebugger_*'
function in S.R.Assembly.
svn path=/trunk/mcs/; revision=22093
|
|
* MonoSymbolTable.cs: Added more #region's and a comment at the
top of the file.
svn path=/trunk/mcs/; revision=22001
|
|
svn path=/trunk/mcs/; revision=22000
|
|
svn path=/trunk/mcs/; revision=21998
|
|
* MonoSymbolTable.cs (MethodEntry): kill more
useless fields.
svn path=/trunk/mcs/; revision=21517
|
|
* MonoSymbolTable.cs (MethodEntry): Remove the
SourceFileIndex field, we already have the info.
svn path=/trunk/mcs/; revision=21516
|
|
* MonoSymbolTable.cs: Done make the MethodIndexEntry
part of the method entry class, because it just
takes up extra space.
svn path=/trunk/mcs/; revision=21515
|
|
svn path=/trunk/mcs/; revision=21512
|
|
* MonoSymbolTable.cs, MonoSymbolWriter.cs: Use
fewer arrays, dont use arraylists with structs.
svn path=/trunk/mcs/; revision=21511
|
|
* MonoSymbolTable.cs: Fewer StringBuilder allocs.
svn path=/trunk/mcs/; revision=21392
|
|
* MonoSymbolTable.cs: It is faster to do a linear search
than it is to make a hashtable. Even though the linear
search is O(n^2) while the hashtable is O(n), the allocation
cost for a hashtable is *very* high, especially when only
a few members will be added.
svn path=/trunk/mcs/; revision=20842
|
|
* MonoSymbolTable.cs (MethodEntry.Index): New public field.
svn path=/trunk/mcs/; revision=17077
|
|
* MonoSymbolTable.cs (MethodEntry.LocalNamesAmbiguous): New public
field. Specifies whether two local variables have the same name.
svn path=/trunk/mcs/; revision=12742
|
|
Added basic support for lexical scopes. This is just to tell a
debugger that a local variable is only available in a specific
lexical scope and that another variable of the same name may exist
in another lexical scope. See debugger/test/TestLexicalScope.cs
for examples.
* MonoSymbolTable.cs (LexicalScopeEntry): New class.
(LocalVariableEntry): Added `BlockIndex' field which specifies the
lexical scope of this variable.
* MonoSymbolWriter.cs (SourceBlock): Removed, we're now using
LexicalScopeEntry instead.
svn path=/trunk/mcs/; revision=12481
|
|
* MonoSymbolTable.cs: Incremented version number.
svn path=/trunk/mcs/; revision=11835
|
|
* MonoSymbolTable.cs (MethodIndexEntry): New public struct.
* MonoSymbolFile.cs (MonoSymbolFile.GetMethodByToken): New method.
svn path=/trunk/mcs/; revision=11700
|
|
* MonoSymbolFile.cs (MonoSymbolFile.Assembly): New public property.
* MonoSymbolTable.cs (MethodEntry.MethodBase): New public property.
(MethodEntry.LocalTypes): New public variable.
svn path=/trunk/mcs/; revision=11688
|
|
* MonoSymbolFile.cs (MethodEntry.ThisTypeIndex): Renamed to
ClassTypeIndex; provide this for all methods so we can get the
class of static methods.
svn path=/trunk/mcs/; revision=11685
|
|
symbol files, so we don't need to increment the version number.
svn path=/trunk/mcs/; revision=11521
|
|
* MonoSymbolWrtier.cs (SourceFile): Derive from SourceFileEntry.
(SourceBlock): We don't need source lines here.
(SourceMethod): We're always constructed with source info.
* MonoSymbolTable.cs: Added support for namespaces.
(NamespaceEntry): New struct.
(SourceFileEntry.DefineNamespace): New method.
(MethodEntry.BuildLineNumberTable): The table is already sorted,
so we don't need to do this here.
svn path=/trunk/mcs/; revision=11417
|
|
svn path=/trunk/mcs/; revision=11409
|
|
svn path=/trunk/mcs/; revision=11408
|
|
svn path=/trunk/mcs/; revision=11322
|
|
* MonoSymbolFile.cs: The symbol file is now a resource in the
assembly instead of a separate file.
* MonoSymbolTable.cs: Did a few more cleanups, sort the line
number table and remove duplicate line numbers.
svn path=/trunk/mcs/; revision=11295
|
|
Modified the symbol file format to speed up method looks by name
and cleaned this up a lot.
* MonoSymbolFile.cs: New public class. This is now a public class
and writes and reads the symbol file.
* IMonoBinaryReader.cs: Removed.
* MonoSymbolTable.cs: Set version number to 29.
svn path=/trunk/mcs/; revision=11223
|
|
* MonoSymbolTable.cs: Set version number to 28.
(SourceFileEntry): Read the methods when they're needed.
(MethodSourceEntry): Made this a struct, not a class.
svn path=/trunk/mcs/; revision=8224
|
|
* MonoSymbolTable.cs: Set version number to 28.
(SourceFileEntry): Read the methods when they're needed.
(MethodSourceEntry): Made this a struct, not a class.
svn path=/trunk/mcs/; revision=8223
|
|
* MonoSymbolTable.cs: Set version number to 27. Added a source
file table which is used to search a method by source file + line number.
svn path=/trunk/mcs/; revision=8217
|
|
* MonoSymbolTable.cs: Set version number to 26. Removed all the dynamic
stuff, this library now just deals with the compiler generated symbol table.
The dynamic stuff is private between the JIT and the debugger.
svn path=/trunk/mcs/; revision=7684
|
|
* MonoSymbolTable.cs: Set version number to 25. Added information about
local variables.
svn path=/trunk/mcs/; revision=7663
|
|
* MonoSymbolTable.cs: Set version number to 24. Added a type index
table. Write the type of a local variable or a parameter as an index
into this table.
svn path=/trunk/mcs/; revision=7660
|
|
* IMonoSymbolWriter.cs: Remove all the unused interfaces.
svn path=/trunk/mcs/; revision=7659
|
|
* MonoSymbolTable.cs: Set version number to 23, include the size
of a variable.
svn path=/trunk/mcs/; revision=7647
|
|
* MonoSymbolTable.cs: Set version number to 22. Provide information
about parameters and local variables.
svn path=/trunk/mcs/; revision=7645
|
|
* MonoSymbolTable.cs: Set version number to 21. Encode the source file
as a 4-byte length field followed by the UTF8 encoded string.
svn path=/trunk/mcs/; revision=7585
|