Repository navigation
Conversation
e2153e6 to
3efb5b2
Compare
|
Thanks, Jay. Folding the three near-identical
Why I don't think this PR can stand alone as written:
(This version also spells I'm happy to do the combining: I'd rework #1271 on top of your branch, or open a fresh PR that includes your commits, keeping your authorship. Or you can fold the #1271 pieces in here, whichever you prefer. |
|
@hosking yes I can see, my PR is both very good, and heavily stomps on your work. |
| end | ||
| else | ||
| include_dir("ex_frame") | ||
| else if equal (M3_BACKEND_MODE, "C") |
There was a problem hiding this comment.
@hosking Right this part was very speculative of me.
You had the hint that we "need" to set M3_USE_STACK_WALKER=TRUE AND C++ backend. Or at least, m3middle/m3front need to know the equivalence.
Furthermore, what you have commited, while a little messy, works.
What I had here in the PR, was cleanup, but completely missed the goal of actually moving to stack walk.
Ideally, one list of walker platforms
This is a nit I was going to ignore, but yes agreed.
So in temporary conclusion:
- Take your PR.
- This part of my PR I'll revert.
- I'll rebase, whatever, no big deal.
- And I'll work through actually getting ex_stack working for me on AMD64_NT.
- I am not sure how "good" my efforts will be, because I'm using my preferred boot1.py. The two step bootstrap isn't because old compiler cannot build new stuff, but because there needs to be one runtime chosen through compiler and what runtime it uses.
- Um, I am not sure what people or CI are practised in. I am practised in boot1.py.
- We will have to work this out in CI I think. Perhaps it already works though.
6cb41e2 to
3726627
Compare
|
Thanks Jay — folding the three libunwind files into one is right; they had drifted only in comments. And a libunwind-shaped shim over
Not yet visible in CI:
Would you consider splitting it in two? (1) the pure consolidation, which should be quick to get green, and (2) the Windows walker for AMD64_NT/ARM64_NT on top of it. That way the first can land while the second gets its own testing. |
8f04465 to
4c57d30
Compare
|
I split it up. |
f1c473b to
9692385
Compare
|
Jay, the Darwin failures here are just the include in 🤖 Generated with Claude Code |
| @@ -0,0 +1,59 @@ | |||
| /* A quick libunwind abstraction and Windows implementation to satisfy Modula-3. | |||
There was a problem hiding this comment.
This should probably be its own little github repository.
With a good license.
And possibly consumed as a submodule.
Or we should see if Cygwin's libunwind works and is well licensed.

No description provided.