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

Fix compiler crashes when instrumenting programs with nested Cilk contexts and nested reducers #309

Open
wants to merge 2 commits into
base: dev/19.x
Choose a base branch
from

Conversation

neboat
Copy link
Collaborator

@neboat neboat commented Jan 15, 2025

… to avoid hosting syncregions used within a taskframe inserted by loop-spawning outside of that taskframe. Improve logic for finding external uses of taskframes to fixup.
…r CilkSanitizer instrumentation.

If ASan inserts hooks into spawned tasks with other exception-handling logic, it either needs to mark that these hooks do not throw or it needs to invoke these hooks with unwinding blocks that connect with the unwind blocks of the enclosing task.  ASan does not currently do this and instead inserts these hooks naively.  This change works around ASan's behavior by marking that calls to ASan hook in spawned tasks do not throw.
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.

1 participant