-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Make longjmp/exceptions helpers thread-safe #12056
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
Merged
Changes from 4 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
5786570
Make asm.js threading globals thread-safe
kripken 0faaddd
make compiler-rt an MT library?
kripken 0ae338f
fix
kripken e4f69ed
Merge remote-tracking branch 'origin/master' into exc
kripken 3cba11a
Merge remote-tracking branch 'origin/master' into exc
kripken fccf48c
feedback: refactor into a side file
kripken a9741ea
add a test
kripken c4d680f
Merge remote-tracking branch 'origin/master' into exc
kripken daff2df
add a test that can't pass yet without a wasm backend fix [ci skip]
kripken 5a4ea53
Merge remote-tracking branch 'origin/master' into exc
kripken faa03bc
use threads.h [ci skip]
kripken 06ab316
add a compiler-rt mt variant [ci skip]
kripken b3db6a9
review feedback [ci skip]
kripken 7955ce2
Also build libc_rt_wasm with -mt when needed
kripken 96cbf74
fix test
kripken af889b0
Merge remote-tracking branch 'origin/master' into exc
kripken 0629608
Revert "Disable tests to allow LLVM to roll in (#12337)"
kripken 9e6193e
[ci skip]
kripken 586767e
Merge remote-tracking branch 'origin/master' into exc
kripken e55647a
revert the extra disabled test too [ci skip]
kripken c76b122
comment
kripken d42e148
embind and asan_js libraries now also need to be built with -mt
kripken 36c0ee0
-mt
kripken 05257b8
Revert "-mt"
kripken 5657df5
Revert "embind and asan_js libraries now also need to be built with -mt"
kripken b312b57
Revert "Also build libc_rt_wasm with -mt when needed"
kripken 44b8dda
fix comment
kripken 704a676
cleaner [ci skip]
kripken 84ab45b
remove unneeded change after the llvm change
kripken File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why move into this file?
These symbols seems to live more logically in compiler-rt, which is a library that hold internal symbols that the compiler can generate during codegee.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main reason is that compiler-rt doesn't have a multithreaded variation atm, and adding one just for this seemed silly to me. Given libc already had a kind of "misc" file, this seemed reasonable. But I don't feel strongly, what do you prefer?