Richard Brooksby
b929dbbe4c
Moving scanning accounting to tracescanarea and creating analogous formatscan.
...
Copied from Perforce
Change: 189325
ServerID: perforce.ravenbrook.com
2016-02-19 12:11:50 +00:00
Richard Brooksby
8cf9a64bd1
Implementing mps_root_create_area_tagged as documented.
...
Copied from Perforce
Change: 189324
ServerID: perforce.ravenbrook.com
2016-02-19 00:23:54 +00:00
Richard Brooksby
2819d80ce8
Miscellaneous scanning documentation fixes from review.
...
Copied from Perforce
Change: 189323
ServerID: perforce.ravenbrook.com
2016-02-19 00:15:23 +00:00
Richard Brooksby
d874c0a5bb
Miscellaneous root documentation fixes from review.
...
Copied from Perforce
Change: 189322
ServerID: perforce.ravenbrook.com
2016-02-19 00:10:12 +00:00
Richard Brooksby
abc9da0d76
Clarifying that the pointer passed to thread root registration is the cold end of the stack.
...
Copied from Perforce
Change: 189321
ServerID: perforce.ravenbrook.com
2016-02-18 23:57:54 +00:00
Richard Brooksby
6413f3bc27
Renaming "bottom" and "top" of stack to "cold" and "hot" end, to prevent confusion about descending stacks.
...
Correcting design documentation relating to stacks.
Referencing hot and cold end concepts from glossary entry for control stacks.
Copied from Perforce
Change: 189320
ServerID: perforce.ravenbrook.com
2016-02-18 23:49:58 +00:00
Richard Brooksby
7085cdeee9
Fixing leftover sizeof(addr) that should've been changed to sizeof(word).
...
Copied from Perforce
Change: 189319
ServerID: perforce.ravenbrook.com
2016-02-18 21:22:05 +00:00
Richard Brooksby
7e7606bc1a
Avoid possible type pun hazard of jump buffer by casting to void *.
...
Copied from Perforce
Change: 189318
ServerID: perforce.ravenbrook.com
2016-02-18 21:18:05 +00:00
Richard Brooksby
44f4a046ff
Fixing indentation of case labels.
...
Copied from Perforce
Change: 189317
ServerID: perforce.ravenbrook.com
2016-02-18 21:12:28 +00:00
Richard Brooksby
d295d93dde
Lifting closure structure out of areascanunion and using for rootfun as well. clarifying checking of same.
...
Copied from Perforce
Change: 189316
ServerID: perforce.ravenbrook.com
2016-02-18 21:12:00 +00:00
Richard Brooksby
d2d85d8951
Removing check that pattern fits within mask, as this restricts the generality of scan_area.
...
Copied from Perforce
Change: 189315
ServerID: perforce.ravenbrook.com
2016-02-18 21:07:58 +00:00
Richard Brooksby
eb48677915
Fixing design documentation of mutatorfaultcontextscan.
...
Copied from Perforce
Change: 189314
ServerID: perforce.ravenbrook.com
2016-02-18 21:00:38 +00:00
Richard Brooksby
a73b0b3423
Renaming variable _p to p, as it was left over from an earlier name clash by mistake.
...
Copied from Perforce
Change: 189313
ServerID: perforce.ravenbrook.com
2016-02-18 20:54:35 +00:00
Richard Brooksby
a63e366c59
Removing check that pattern fits within mask, as this restricts the generality of scan_area.
...
Copied from Perforce
Change: 189312
ServerID: perforce.ravenbrook.com
2016-02-18 20:49:21 +00:00
Richard Brooksby
0179062b4e
Explaining why code in scan.c is written outside the mps interface.
...
Copied from Perforce
Change: 189311
ServerID: perforce.ravenbrook.com
2016-02-18 20:06:06 +00:00
Richard Brooksby
a94927bd40
Removing argument identifiers from prototype of mps_root_create_table_tagged.
...
Copied from Perforce
Change: 189310
ServerID: perforce.ravenbrook.com
2016-02-18 19:59:44 +00:00
Richard Brooksby
4487895475
Detabifying code and restructuredtext files.
...
Copied from Perforce
Change: 189309
ServerID: perforce.ravenbrook.com
2016-02-18 19:58:13 +00:00
Richard Brooksby
3cde5d865c
Reducing the number of root union variants using a nested union. detabifying.
...
Copied from Perforce
Change: 189247
ServerID: perforce.ravenbrook.com
2016-02-16 16:27:57 +00:00
Richard Brooksby
99c788fdc1
Minor tidying up of the manual.
...
Copied from Perforce
Change: 189246
ServerID: perforce.ravenbrook.com
2016-02-16 16:27:20 +00:00
Richard Brooksby
3eeb5ff357
Documenting mps_root_create_area and mps_root_create_area_tagged.
...
Copied from Perforce
Change: 189243
ServerID: perforce.ravenbrook.com
2016-02-16 16:03:28 +00:00
Richard Brooksby
e5f9546cb0
Cross-referencing area scanners documentation from root topic that mentions them.
...
Copied from Perforce
Change: 189238
ServerID: perforce.ravenbrook.com
2016-02-16 14:41:40 +00:00
Richard Brooksby
3fc15676da
Documenting area scanners.
...
Copied from Perforce
Change: 189233
ServerID: perforce.ravenbrook.com
2016-02-16 13:55:32 +00:00
Richard Brooksby
d632deb480
Catch up merge from master sources.
...
Copied from Perforce
Change: 189228
ServerID: perforce.ravenbrook.com
2016-02-16 12:37:25 +00:00
Richard Brooksby
279b420d1c
Merge branch 'branch/2015-09-04/stack' of ssh://perforce.ravenbrook.com:1622/mps into stack
...
Copied from Perforce
Change: 189222
ServerID: perforce.ravenbrook.com
2016-02-16 11:55:09 +00:00
Richard Brooksby
8e948d005e
Fixing build for ansi.
...
Copied from Perforce
Change: 189221
ServerID: perforce.ravenbrook.com
2016-02-16 11:54:39 +00:00
Richard Brooksby
4f25a409fc
Probably fixing build for pelles c (untested).
...
Copied from Perforce
Change: 189216
ServerID: perforce.ravenbrook.com
2016-02-16 11:53:15 +00:00
Richard Brooksby
9e8d824fe3
Fixing build for windows.
...
Copied from Perforce
Change: 189215
ServerID: perforce.ravenbrook.com
2016-02-16 11:40:17 +00:00
Richard Brooksby
c8f87db81e
Adding scan.c to xcode project.
...
Copied from Perforce
Change: 189220
ServerID: perforce.ravenbrook.com
2016-02-16 01:01:32 +00:00
Richard Brooksby
b9b8f6b7d4
Fixing build for os x.
...
Copied from Perforce
Change: 189210
ServerID: perforce.ravenbrook.com
2016-02-16 00:55:23 +00:00
Richard Brooksby
7464a68949
Documenting thread root registration functions.
...
Copied from Perforce
Change: 189207
ServerID: perforce.ravenbrook.com
2016-02-16 00:34:10 +00:00
Richard Brooksby
66adbd8533
Bringing scheme example up to date with interface changes.
...
Copied from Perforce
Change: 189206
ServerID: perforce.ravenbrook.com
2016-02-15 23:39:24 +00:00
Richard Brooksby
5a030d9a10
Making mps_root_create_thread a convenience function for the common case.
...
Copied from Perforce
Change: 189205
ServerID: perforce.ravenbrook.com
2016-02-15 23:30:12 +00:00
Richard Brooksby
50eea20199
Using an array rather than a stack for tagtest to get reliable results.
...
Copied from Perforce
Change: 189204
ServerID: perforce.ravenbrook.com
2016-02-15 19:42:44 +00:00
Richard Brooksby
c1918bc79b
Creating general mps_root_create_thread and renaming mps_root_create_stack as a specialised version of it, mps_root_create_thread_tagged.
...
Copied from Perforce
Change: 189198
ServerID: perforce.ravenbrook.com
2016-02-15 19:12:59 +00:00
Richard Brooksby
b384334a32
Reimplementing mps_root_create_reg in terms of rootcreatethreadtagged and abolishing rootreg. yay!
...
Copied from Perforce
Change: 189197
ServerID: perforce.ravenbrook.com
2016-02-15 18:19:30 +00:00
Richard Brooksby
ab41d5c4f7
Renaming rootreg_masked to rootthread_tagged with corresponding changes to other identifiers.
...
Copied from Perforce
Change: 189196
ServerID: perforce.ravenbrook.com
2016-02-15 17:57:06 +00:00
Richard Brooksby
fe206feb2d
Lifting stack and register area scanner into mps interface to allow generalisation of stack format.
...
Copied from Perforce
Change: 189195
ServerID: perforce.ravenbrook.com
2016-02-15 17:46:45 +00:00
Richard Brooksby
5c4eba9f7a
Fixing case label indents.
...
Copied from Perforce
Change: 189194
ServerID: perforce.ravenbrook.com
2016-02-15 17:32:12 +00:00
Richard Brooksby
7238921356
Generalising roottable to rootarea and using it to implement mps_root_create_table_* and mps_root_create_area.
...
Copied from Perforce
Change: 189193
ServerID: perforce.ravenbrook.com
2016-02-15 17:30:45 +00:00
Richard Brooksby
fb6c150ba2
Generalising roottable_masked to rootarea_tagged and lifting scanner assumption.
...
Copied from Perforce
Change: 189192
ServerID: perforce.ravenbrook.com
2016-02-15 16:56:42 +00:00
Richard Brooksby
ae80015f4b
Lifting assumptions about area scanners closer to interface.
...
Copied from Perforce
Change: 189191
ServerID: perforce.ravenbrook.com
2016-02-15 16:46:09 +00:00
Richard Brooksby
7df6c140f8
Generalising tracescanarea to be a checking wrapper for all area scanners.
...
Copied from Perforce
Change: 189190
ServerID: perforce.ravenbrook.com
2016-02-15 15:44:57 +00:00
Richard Brooksby
85a2d8683f
Lifting and generalising area scanners to allow flexible tagging schemes.
...
Copied from Perforce
Change: 189189
ServerID: perforce.ravenbrook.com
2016-02-15 15:30:08 +00:00
Richard Brooksby
0277d49079
Lifting area scanners into client-side code.
...
These versions also produce tighter loops under Clang.
Copied from Perforce
Change: 189188
ServerID: perforce.ravenbrook.com
2016-02-14 00:57:28 +00:00
Richard Brooksby
788a8d6f03
Adapting tool/branch to git fusion 2 installation.
...
Copied from Perforce
Change: 189166
ServerID: perforce.ravenbrook.com
2016-02-13 22:01:47 +00:00
Richard Brooksby
e8286000a3
Excluding os x builds with gcc from the travis build matrix, since we don't support that combination.
...
Copied from Perforce
Change: 189159
ServerID: perforce.ravenbrook.com
2016-02-12 14:35:05 +00:00
Richard Brooksby
581662bc7b
Adding os x builds to travis ci. see < https://docs.travis-ci.com/user/multi-os/ >.
...
Copied from Perforce
Change: 189154
ServerID: perforce.ravenbrook.com
2016-02-12 14:05:44 +00:00
Richard Brooksby
5457fcce7b
Merging branch/2015-08-06/config into master sources.
...
Copied from Perforce
Change: 189148
ServerID: perforce.ravenbrook.com
2016-02-12 10:57:08 +00:00
Richard Brooksby
feb76a51a5
Fixing undeclared extern warning that caused travis build failure < https://travis-ci.org/ravenbrook/mps/jobs/108651659 >.
...
Adding missing warning flags in Xcode to bring into line with strictness of makefiles and catch the above sooner.
Copied from Perforce
Change: 189143
ServerID: perforce.ravenbrook.com
2016-02-11 23:51:21 +00:00
Richard Brooksby
9939dd3d3b
Catch-up merge from master sources.
...
Copied from Perforce
Change: 189140
ServerID: perforce.ravenbrook.com
2016-02-11 23:42:07 +00:00