Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to recover our history #6

Merged
merged 8,765 commits into from
Aug 27, 2015
Merged

Try to recover our history #6

merged 8,765 commits into from
Aug 27, 2015

Conversation

hosking
Copy link
Member

@hosking hosking commented Aug 27, 2015

No description provided.

hosking and others added 30 commits August 12, 2014 01:08
Here is a candidate fix.
m.release (re-entrant attempt on self.mutex).
Still problems with forkers waiting.
Not sure what that implies...
This manifested on OSX, but was probably broken on other platforms.
The idea is to remove all other (dead) threads from the ring in the child
process, while still releasing their mutexes.
Add specials to convert OrdSet values among different word sizes
and endianness.  Not tested.  Also, various typos, comment changes,
reformats, INLINES, and named constants for literal values.
…deChar.

There really is a use for this.  Unlike PutWideChar, PutChar can't actually
raise Range, when the character is in CHAR, for any encoding.  Making
it a separate procedure without Range in its RAISES lists gets around
some nagging problems with extraneous warnings.
jaykrell and others added 26 commits August 14, 2015 12:27
-gstabs is not supported
plain -g crashes
-g1 produces some extra information
tested with a cross cm3cg and cross GNU as, not actually run
or debugged
A
test case for PA structure_size_boundary and partial demo of cross
compilation, at least to assembly

You can see the resulting struct sizes in the assembly.

The other part of the cross-use is m3cc/src/buildmany.sh
and a config file change that lets you specify cc/as/ld on the cm3
command line, or at least as.
Commit binding files provided by Peter McKinna via email.
Add m3makefile and Makefile lines to build them and link
with Modula-3 code.  Fix build problems.

This is for llvm 3.5.0  See file readme for information
on building.

 Changes to be committed:

	new file:   DIBuilderBindings.cpp
	new file:   DIBuilderBindings.h
	modified:   M3CG_LLVM.m3
	new file:   M3Extras.cpp
	new file:   M3Extras.h
	new file:   Makefile
	modified:   m3makefile
	modified:   readme
 Changes to be committed:

	modified:   LLVMTypes.i3
	modified:   M3DIBuilder.i3
	modified:   M3Extras.cpp
	modified:   m3makefile
gcc-apple for ARM_DARWIN.

Note that this is originally from Apple, but we don't have Apple's current.
  - is based on size of surrounding type, not the accessed offset
  - is off by a factor of 8
 First_readable_addr = 4K * 8 on most targets
 First_readable_addr = 8K * 8 on sparc
 could be but isn't 8k on alpha/ia64

now:
 4K on all targets -- not 4K * 8, but just 4K
 m3front does the multiplication by 8 and doing
 it twice made the value too high.
 Could be but isn't 8K on ia64/alpha/sparc. It'd
 be a small optimization in unusual code, and
 isn't worth the targets varying.

Test case is p263.

Still maybe want to eliminate it, but at least
all targets are now the same here.
merge my branch to master
Revert "merge my branch to master"
hosking added a commit that referenced this pull request Aug 27, 2015
Try to recover our history
@hosking hosking merged commit a12819d into trunk Aug 27, 2015
@hosking hosking deleted the master branch August 27, 2015 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants