Richard Brooksby
ec55536827
Added single compilation unit version of mps library to allow global optimization and universal binary building. minor fixes to other sources to avoid clashing symbols.
...
Separated XCI3GC (gcc) from XCI3LL (clang) platforms, so that we can build both 32- and 64-bit binaries with clang.
Enabled universal (multi architecture) builds.
Copied from Perforce
Change: 178287
ServerID: perforce.ravenbrook.com
2012-05-22 21:27:55 +01:00
Richard Brooksby
e6eeb3651e
Several tests running on xci6ll target.
...
Copied from Perforce
Change: 178286
ServerID: perforce.ravenbrook.com
2012-05-22 20:02:28 +01:00
Richard Brooksby
af4b20b4e4
Disabling address probing test for 64-bit platforms until we design a better one.
...
Copied from Perforce
Change: 178282
ServerID: perforce.ravenbrook.com
2012-05-22 16:30:35 +01:00
David Lovemore
5f4bac1058
Split windows thread implementation into two files so that the non-architecture specific part can be shared.
...
Copied from Perforce
Change: 178281
ServerID: perforce.ravenbrook.com
2012-05-22 16:08:49 +01:00
David Lovemore
0d93c21a0e
Remove obsolete flag /coff from assembler options
...
Copied from Perforce
Change: 178262
ServerID: perforce.ravenbrook.com
2012-05-22 14:45:06 +01:00
David Lovemore
1854476965
Use .code to put code in executable segment.
...
Copied from Perforce
Change: 178247
ServerID: perforce.ravenbrook.com
2012-05-21 19:03:10 +01:00
Richard Brooksby
fc311e8edc
Basic build of mps library and mpmss test using xcode on xci6ll platform.
...
Copied from Perforce
Change: 178246
ServerID: perforce.ravenbrook.com
2012-05-21 18:58:57 +01:00
David Lovemore
eb84a7dd79
Added ssw3i6.asm for stack scanning
...
Copied from Perforce
Change: 178245
ServerID: perforce.ravenbrook.com
2012-05-21 18:34:33 +01:00
Richard Brooksby
b58cb9f89f
Adding empty xcode project for mps.
...
Copied from Perforce
Change: 178244
ServerID: perforce.ravenbrook.com
2012-05-21 18:09:46 +01:00
David Lovemore
a1e4e1e29c
Temporary fix for 64 bit windows: make allocations 8 byte aligned.
...
Copied from Perforce
Change: 178238
ServerID: perforce.ravenbrook.com
2012-05-21 17:40:07 +01:00
David Lovemore
5982f80df1
Use rnd_addr() where appropriate instead of rnd()
...
Copied from Perforce
Change: 178231
ServerID: perforce.ravenbrook.com
2012-05-21 16:07:13 +01:00
Richard Brooksby
7ecd65c946
Removing outdated assertion.
...
Copied from Perforce
Change: 178230
ServerID: perforce.ravenbrook.com
2012-05-21 15:45:26 +01:00
David Lovemore
60fac0d6b7
Round up sizes to a 16 byte alignment and extend fenceposts to 16 bytes in apss test
...
Copied from Perforce
Change: 178211
ServerID: perforce.ravenbrook.com
2012-05-17 17:08:52 +01:00
David Lovemore
5a906fa642
Remove bogus /debug option from lib command
...
Copied from Perforce
Change: 178202
ServerID: perforce.ravenbrook.com
2012-05-17 16:02:35 +01:00
David Lovemore
f013f5eb61
Use noop in insist macro.
...
Copied from Perforce
Change: 178201
ServerID: perforce.ravenbrook.com
2012-05-17 15:48:30 +01:00
Richard Brooksby
45c488d1c5
Adding missing cast to deliberately throw away bits in hash function, fixing a warning on w3i6mv.
...
Copied from Perforce
Change: 178200
ServerID: perforce.ravenbrook.com
2012-05-17 15:33:56 +01:00
Richard Brooksby
e76e783934
Fixing incorrect assumption that ulong was as big as size_t.
...
Copied from Perforce
Change: 178199
ServerID: perforce.ravenbrook.com
2012-05-17 15:33:10 +01:00
David Lovemore
8365fd368c
Removed some left over comments.
...
Copied from Perforce
Change: 178197
ServerID: perforce.ravenbrook.com
2012-05-17 15:26:16 +01:00
David Lovemore
dc29d0d755
Using mps_word_const instead of ull for proper fixes to constants
...
Copied from Perforce
Change: 178196
ServerID: perforce.ravenbrook.com
2012-05-17 15:18:50 +01:00
Richard Brooksby
512c8924a4
Added reference to design document.
...
Copied from Perforce
Change: 178195
ServerID: perforce.ravenbrook.com
2012-05-17 15:05:31 +01:00
Richard Brooksby
0f49047f5e
Increased alignments to work on 64-bit targets.
...
Copied from Perforce
Change: 178194
ServerID: perforce.ravenbrook.com
2012-05-17 15:05:23 +01:00
David Lovemore
fe9e093f48
Added mps_word_const and other fixes to get zcoll test to work
...
Copied from Perforce
Change: 178193
ServerID: perforce.ravenbrook.com
2012-05-17 14:55:18 +01:00
David Lovemore
4bb3e3365e
Added /debug and /pdb flags to make windows pdb debug files correctly.
...
Copied from Perforce
Change: 178191
ServerID: perforce.ravenbrook.com
2012-05-17 13:36:17 +01:00
David Lovemore
fa83c22bb3
Temporary fixes for 64-bit windows build
...
Copied from Perforce
Change: 178190
ServerID: perforce.ravenbrook.com
2012-05-17 13:19:45 +01:00
David Lovemore
216f9ca02e
Another temporary fix for 64 bit windows
...
Copied from Perforce
Change: 178101
ServerID: perforce.ravenbrook.com
2012-05-03 18:09:40 +01:00
David Lovemore
1176cc3d67
Insert cast to int to get it to compile on 64 bit.
...
Copied from Perforce
Change: 178100
ServerID: perforce.ravenbrook.com
2012-05-03 18:06:58 +01:00
David Lovemore
a95fb8db00
Merged from master/... to pick up longest changes to varargs and casts on shifts
...
Copied from Perforce
Change: 178097
ServerID: perforce.ravenbrook.com
2012-05-03 17:02:33 +01:00
David Lovemore
0c22e4fb5a
Fixed up long constants and shifts that needed to be cast to correct type.
...
Copied from Perforce
Change: 178095
ServerID: perforce.ravenbrook.com
2012-05-03 16:38:47 +01:00
David Lovemore
64192bbfa6
Adding casts to varargs in diagnostic output
...
Copied from Perforce
Change: 178092
ServerID: perforce.ravenbrook.com
2012-05-03 15:17:04 +01:00
Richard Brooksby
3561d68a84
Building on i6 with protw3 for real win32 protection, and stub prmcan with unimplemented instruction stepping for now.
...
Copied from Perforce
Change: 178091
ServerID: perforce.ravenbrook.com
2012-05-03 12:10:01 +01:00
Richard Brooksby
89bdc8f699
Updating dword to ulong_ptr for windows 64 interface.
...
Copied from Perforce
Change: 178090
ServerID: perforce.ravenbrook.com
2012-05-03 12:09:16 +01:00
Richard Brooksby
fcf3c0a519
Fixing "1ul" constant to "(align)1" for portability.
...
Copied from Perforce
Change: 178089
ServerID: perforce.ravenbrook.com
2012-05-03 12:05:53 +01:00
Richard Brooksby
8d2ee74aa3
Temporary fix to constant to suppress warning.
...
Copied from Perforce
Change: 178088
ServerID: perforce.ravenbrook.com
2012-05-03 12:05:02 +01:00
Richard Brooksby
3dcded8295
Removing assertions for assumptions we no longer make since microsoft introduced size_t in its interfaces instead of dword. about time.
...
Copied from Perforce
Change: 178081
ServerID: perforce.ravenbrook.com
2012-05-01 17:25:25 +01:00
Richard Brooksby
0c75606e30
Fixing a "1ul" constant to "(mps_word_t)1" since 1ul isn't 64-bits wide on windows 64.
...
Copied from Perforce
Change: 178080
ServerID: perforce.ravenbrook.com
2012-05-01 17:24:01 +01:00
David Lovemore
bb2eee034b
Merging from master/... to bring over extra vararg fixes
...
Copied from Perforce
Change: 178079
ServerID: perforce.ravenbrook.com
2012-05-01 17:12:07 +01:00
Richard Brooksby
9f0371e395
Fixing horrible type unsafe candy-machine interface to tracestartgendesc_diag, which broke on w3i6mv.
...
Copied from Perforce
Change: 178077
ServerID: perforce.ravenbrook.com
2012-05-01 17:05:27 +01:00
Richard Brooksby
bdf3d768e2
Adding minimal platform detection to determine mps_t_word in mps external interface.
...
Copied from Perforce
Change: 178076
ServerID: perforce.ravenbrook.com
2012-05-01 17:04:27 +01:00
David Lovemore
f7364dfe5e
Fixed some places where casts are missing in vararg arguments.
...
Copied from Perforce
Change: 178074
ServerID: perforce.ravenbrook.com
2012-05-01 16:58:22 +01:00
Richard Brooksby
e8380158a7
Catching up with masters, to bring in work from branch/2012-03-27/longest.
...
Copied from Perforce
Change: 178073
ServerID: perforce.ravenbrook.com
2012-05-01 16:29:25 +01:00
Richard Brooksby
aba4983802
Fixing zone blacklisting to use a type pun via a union for a better simulation of bad ambiguous references, that will also avoid cast precision warnings from microsoft c.
...
Copied from Perforce
Change: 178069
ServerID: perforce.ravenbrook.com
2012-05-01 16:11:18 +01:00
Richard Brooksby
56d34bb9cf
Merging fix to mac os x build flags from master.
...
Copied from Perforce
Change: 178068
ServerID: perforce.ravenbrook.com
2012-05-01 16:06:36 +01:00
Richard Brooksby
970b5f58da
Added w3i6mv platform and fixed types of arguments to windows api functions for 64-bit.
...
Copied from Perforce
Change: 178063
ServerID: perforce.ravenbrook.com
2012-04-30 14:33:00 +01:00
Richard Brooksby
5c31bf667a
Fixing unsigned longs in eventcnv but not column widths.
...
Copied from Perforce
Change: 178026
ServerID: perforce.ravenbrook.com
2012-04-23 17:13:41 +01:00
Richard Brooksby
82c29cfd3e
Fixing up occurences of "unsigned long" in the main mps and test code so that we no longer assume that "unsigned long" is large enough for a pointer or size, or that it's the longest available integer type, since these are not true on 64-bit windows.
...
Copied from Perforce
Change: 178021
ServerID: perforce.ravenbrook.com
2012-04-23 16:20:40 +01:00
Richard Brooksby
bf40f3a230
Merging clang/gcc build fix from master.
...
Copied from Perforce
Change: 177908
ServerID: perforce.ravenbrook.com
2012-04-05 17:04:41 +01:00
Richard Brooksby
86671772e7
In xcode 4.3.2, the cc command runs clang not gcc. changed make to explicitly run gcc.
...
Copied from Perforce
Change: 177907
ServerID: perforce.ravenbrook.com
2012-04-05 17:01:24 +01:00
Richard Brooksby
acbc270f66
Adding indirection between mps_word_t and unsigned long that will get more elaborate when we merge the w3i6mv port.
...
Copied from Perforce
Change: 177848
ServerID: perforce.ravenbrook.com
2012-03-29 14:52:45 +01:00
Richard Brooksby
98f3e3bdd2
Consistently passing closure sizes as size_t and not casting back and forth to size or anything else.
...
Copied from Perforce
Change: 177817
ServerID: perforce.ravenbrook.com
2012-03-27 18:12:52 +01:00
Richard Brooksby
a12e94fe41
Cbs and splay now pass size through as closure parameters, rather than messing with unsigned long.
...
Copied from Perforce
Change: 177816
ServerID: perforce.ravenbrook.com
2012-03-27 17:15:25 +01:00