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

ASAN support #19

Closed
wants to merge 2 commits into from
Closed

ASAN support #19

wants to merge 2 commits into from

Conversation

aut0
Copy link
Contributor

@aut0 aut0 commented Sep 12, 2021

This adds support for ASAN. Changes the underlying memory management to mmap as discussed.

BR,
Lukas

This is required to make SystemC work with ASAN. The current implemantion leads
to SIGSEGV in ASAN, because it runs into the protected area at the end of the
stack.

Signed-off-by: Lukas Jünger <[email protected]>
SystemC needs to announce the coroutine switches in QuickThreads to ASAN. The
required helpers are added as weakly linked functions, so they are only
called when SystemC in linked with ASAN.

Signed-off-by: Lukas Jünger <[email protected]>
@markfoodyburton markfoodyburton added the Moved to LWG Moved for consideration to the LWG label Oct 19, 2021
@markfoodyburton
Copy link
Contributor

This is now being considered by the LWG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Moved to LWG Moved for consideration to the LWG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants