[Mono-bugs] [Bug 368178] [PATCH]ilasm to emit variable names in mdb file
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Apr 9 10:13:03 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=368178
User martin at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=368178#c6
--- Comment #6 from Martin Baulig <martin at novell.com> 2008-04-09 08:13:02 MST ---
The signature is no longer written into the symbol file. It wasn't actually
used in the old symbol file, so it was just bloated the file size.
In that patch:
* remove the new TypeSig() function unless you need it somewhere else
* in the DebuggingInfo.cs, also use the new DefineMethod() API:
public void DefineMethod (int token, ScopeVariable[] scope_vars,
LocalVariableEntry[] locals,
LineNumberEntry[] lines,
CodeBlockEntry[] blocks,
string real_name,
int start, int end, int namespace_id)
Don't worry about `scope_vars', that's only used by mcs/gmcs for anonymous
methods and iterators, just pass null.
`LexicalBlockEntry' has been replaced by `CodeBlockEntry', but I see that
the old code was already passing null, so keep doing that.
Don't worry about `real_name', that's only used for compiler generated
methods to provide some more meaningful name to the user - just pass null.
That's it, basically.
Don't hesitate to ask if you have any more questions,
Martin
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list