Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/NOTES/HISTORY
ViewVC logotype

Diff of /sml/trunk/NOTES/HISTORY

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1638, Wed Sep 29 19:07:58 2004 UTC revision 1683, Thu Nov 11 00:12:41 2004 UTC
# Line 14  Line 14 
14    
15  ----------------------------------------------------------------------  ----------------------------------------------------------------------
16  Name: Matthias Blume (blume (at) tti - c (dot) org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
17    Date: 2004/11/10 18:12:00 CST
18    Tag: blume-20041110-64bit
19    Description:
20    
21    More 64-bit hacking (but still not even half-way there yet).
22    Also, some assorted improvements to the handling of 8-bit words.
23    
24    ----------------------------------------------------------------------
25    Name: Matthias Blume (blume (at) tti - c (dot) org)
26    Date: 2004/11/09 17:50:00 CST
27    Tag: <none>
28    Description:
29    
30    Started adding some infrastructure for supporting 64-bit int- and
31    word-types.  (Still in its very early stages.)
32    
33    ----------------------------------------------------------------------
34    Name: Matthias Blume (blume (at) tti - c (dot) org)
35    Date: 2004/10/28 10:45:00 CDT
36    Tag: Release_110_50
37    Description:
38    
39    New working version (110.50).  NEW BOOTFILES!
40    
41                 =====================
42    
43    Also:
44    
45      - Changend config/srcarchiveurl from a file just
46        containing the URL string into a file containing
47        shell script code.  The code has access to the $VERSION variable.
48      - Made corresponding changes to config/install.sh and config/unpack.
49      - Default contents of config/srcarchiveurl uses $VERSION and
50        normally does not have to be edited to reflect a version change.
51    
52      (As a result, a version change can be done by just editing
53       config/version, the rest is now automatic.)
54    
55    ----------------------------------------------------------------------
56    Name: Matthias Blume (blume (at) tti - c (dot) org)
57    Date: 2004/10/27 17:50:00 CDT
58    Tag: blume-20041027-btrace-msg
59    Description:
60    
61    BackTrace.monitor now also reports the source of the exception that
62    triggered the trace.
63    
64    ----------------------------------------------------------------------
65    Name: Matthias Blume (blume (at) tti - c (dot) org)
66    Date: 2004/10/27 17:20:00 CDT
67    Tag: blume-20041027-x86-c-calls
68    Description:
69    
70    This is the HISTORY entry for two earlier commits, both concerning
71    the x86 c-calls code in MLRISC:
72    
73      - added a missing LOAD in the code that deals with struct arguments
74      - made sure the caller does not add the wrong number of bytes to the
75        stack pointer after a call of a function returning a struct
76        (the callee already pops the implicit argument which points to
77         the space reserved for the result)
78    
79    ----------------------------------------------------------------------
80    Name: Allen Leung (leunga (at) reservoir (dot) com)
81    Date: 2004/10/24 14:00:00 EST
82    Tag: leunga-20041024-x86-gas-fucomip
83    Description:
84    
85       John discovered a bug in the syntax of fucomip.
86       The opcodes FU?COMIP? have been changed to
87    
88           fu?comip? %st(i), %st
89    
90    ----------------------------------------------------------------------
91    Name: Matthias Blume (blume (at) tti - c (dot) org)
92    Date: 2004/10/20 15:06:00 CDT
93    Tag: blume-20041020-standalone-backtrace
94    Description:
95    
96    Added a mechanism for getting back-trace information from standalone
97    programs.  Here is how it works:
98    
99       1. The part of the program from which you want to get backtrace
100          information (usually the whole program) should be wrapped with
101          BackTrace.monitor.  This is a (unit->'a)->'a function, and your
102          main program could be modified from something like
103    
104             fun main (pgm, args) = ...
105    
106         to
107    
108            fun main (pgm, args) = BackTrace.monitor (fn () => ...)
109    
110       2. To be able to access BackTrace.monitor, you have to add
111          library $smlnj-tdp/plugins.cm to the .cm file that contains your
112          main function.
113    
114       3. Remove all compiled code (i.e., all the .cm/ subdirectories that
115          CM might have created in the past for your project).
116    
117       4. Build the system using this command line:
118    
119             ml-build -Ctdp.instrument=true \$smlnj-tdp/back-trace.cm \
120                      myprog.cm MyProg.main myprog
121    
122          instead of the usual
123    
124             ml-build myprog.cm MyProg.main myprog
125    
126    I changed a library name:
127    
128       $/trace-debug-profile.cm --> $smlnj-tdp/plugins.cm
129    
130    New libraries:
131    
132       $smlnj-tdp/back-trace.cm
133          -- when loaded causes the back-trace plugin to be installed
134       $smlnj-tdp/coverage.cm
135          -- when loaded causes the coverage plugin to be installed
136    
137    ----------------------------------------------------------------------
138    Name: Matthias Blume (blume (at) tti - c (dot) org)
139    Date: 2004/10/18 16:45:00 CDT
140    Tag: blume-20041018-groupowner
141    Description:
142    
143    Added an "obsolete" warning for the "group owner" syntax to CM's parser.
144    
145    Eliminated group owner specs from .cm files throughout the source tree.
146    
147    ----------------------------------------------------------------------
148    Name: Matthias Blume (blume (at) tti - c (dot) org)
149    Date: 2004/10/15 15:45:00 CDT
150    Tag: blume-20041015-coverage
151    Description:
152    
153    * Test coverage tool added!
154    * Further reorganization of tracing-, debugging-, and profiling support:
155    
156        - moved original BTImp -- now called BackTrace -- into a separate
157          library called $/trace-debug-profile.cm
158        - eliminated all mentions of BTrace from SMLofNJ.Internals
159        - only the instrumentation mechanism is now left in the compiler proper
160        - BackTrace module is a plugin which is NOT plugged in by default
161        - Coverage module is another such plugin
162    
163    To get the benefits of any of these plugin modules, the code in
164    question must be compiled with tdp instrumentation turned on.  This
165    can be done by setting SMLofNJ.Internals.TDP.mode to true.
166    (The ref cell is also controlled via the -Ctdp.instrument=... switch.)
167    
168    Plugins are selected at link time.  (Pre-compiled instrumented code
169    can be re-loaded with different plugins in effect.)  When an
170    instrumented module is linked, whatever plugins are at that time
171    enabled will come into effect for that module.
172    
173    To enable the back-trace plugin, load library $/trace-debug-profile.cm
174    and invoke BackTrace.install() (e.g., from the interactive prompt).
175    To enable the coverage plugin, load the same library and invoke
176    Coverage.install().
177    
178    Back-traces are generated automatically on uncaught exceptions and
179    when the code in question explicitly invokes BackTrace.trigger().
180    
181    Coverage (and execution frequency-) information must be queried
182    explicitly by calling Coverage.not_covered and Coverage.hot_spots.
183    
184    ----------------------------------------------------------------------
185    Name: Matthias Blume (blume (at) tti - c (dot) org)
186    Date: 2004/10/14 17:40:00 CDT
187    Tag: blume-20041014-tdp-core
188    Description:
189    
190    Snapshot of a significant overhaul of how the trace/debug/profile support
191    is hooked into the system (specifically: Core and SMLofNJ.Internals).
192    
193    ----------------------------------------------------------------------
194    Name: Matthias Blume (blume (at) tti - c (dot) org)
195    Date: 2004/10/13 16:34:00 CDT
196    Tag: blume-20041013-tdp
197    Description:
198    
199    Some rationalization of names:
200    
201       structure BTrace -> structure TDPInstrument
202       etc.
203    
204    This is is preparation of using the original back-trace
205    instrumentation for other purposes.  "TDP" stands for
206    Trace/Debug/Profile.
207    
208    The control flag controlling whether instrumentation is on or off is now
209    registered under a different name, so instead of running sml as
210    
211     sml -Cinstrument.btrace-mode=true
212    
213    one has to say
214    
215     sml -Ctdp.instrument=true
216    
217    ----------------------------------------------------------------------
218    Name: Matthias Blume (blume (at) tti - c (dot) org)
219    Date: 2004/10/11 16:37:00 CDT
220    Tag: blume-20041011-regions
221    Description:
222    
223    Made some minor modifications to elabcore.sml to have source regions
224    be propagated more tightly -- resulting in better (i.e., smaller)
225    regions being reported in error- and debug messages.
226    
227    ----------------------------------------------------------------------
228    Name: Matthias Blume (blume (at) tti - c (dot) org)
229    Date: 2004/10/08 22:50:00 CDT
230    Tag: blume-20041008-cmkw
231    Description:
232    
233    Fixed handling of keywords in .cm files: After seeing "is" the lexer
234    treats subsequent occurrences of "group", "library", "source", "is",
235    "*", and "-" as ordinary identifiers rather than keywords.
236    
237    Most seriously, this fixes a problem with CM's "shell" tool.  The tool
238    is supposed to accept a tool argument called "source", but this did
239    not work because of the clash with the keyword.
240    
241    ----------------------------------------------------------------------
242    Name: Matthias Blume (blume (at) tti - c (dot) org)
243    Date: 2004/10/07 16:00:00 CDT
244    Tag: blume-20041007-cleanup
245    Description:
246    
247    Assorted cleanup work:
248    
249      - got rid of intstrmap in favor of using the library's
250        hash table implementation
251      - threw out most of the pathnames stuff, as it was not used anyway
252      - simplified tokentable implementation
253      - fixed some minor spelling errors
254    
255    ----------------------------------------------------------------------
256    Name: Matthias Blume (blume (at) tti - c (dot) org)
257    Date: 2004/10/06 15:15:15 CDT
258    Tag: blume-20041006-handler
259    Description:
260    
261    Cleaned up the absyn to reflect the invariant that HANDLE always
262    carries a FNexp as part of the type definition.  This eliminates some
263    superfluous sanity checks at runtime down the road.
264    
265    Some minor cleanup of the btrace code.
266    
267    ----------------------------------------------------------------------
268    Name: Matthias Blume (blume (at) tti - c (dot) org)
269    Date: 2004/10/01 10:20:30 CDT
270    Tag: blume-20041001-slave
271    Description:
272    
273    Added hack to make slave mode work in the presence of the version
274    tool.  (Still, since the master does two passes over the code for
275    CMB.make, the release number gets bumped twice when slaves are
276    attached.  I don't know if this is worth fixing...)
277    
278    ----------------------------------------------------------------------
279    Name: Matthias Blume (blume (at) tti - c (dot) org)
280    Date: 2004/09/30 10:55:00 CDT
281    Tag: blume-20040930-version
282    Description:
283    
284    * Moved the "version" magic into its own little library under
285      src/system/smlnj/internal.  This avoids expensive reconstruction of
286      a stable src/compiler/core.cm.
287    
288    * At the same time, structure CompilerVersion is now known as
289      structure SMLNJVersion.
290    
291    * Arranged for the version tool to NOT kick in when rebuilding the system
292      (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.
293      Also, loading the versiontool does not work when rebuilding the system
294      because CM is not properly initialized at that time.
295    
296    ----------------------------------------------------------------------
297    Name: Matthias Blume (blume (at) tti - c (dot) org)
298  Date: 2004/09/29 14:00:00 CDT  Date: 2004/09/29 14:00:00 CDT
299  Tag: blume-20040929-autoversion  Tag: blume-20040929-autoversion
300  Description:  Description:

Legend:
Removed from v.1638  
changed lines
  Added in v.1683

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0