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

[DevAsan] Add an option to enable/disable leak detection #2250

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

yingcong-wu
Copy link
Contributor

It's better that we have an such option when we need to disable the leak detection.

@yingcong-wu yingcong-wu requested a review from a team as a code owner October 28, 2024 06:36
@github-actions github-actions bot added loader Loader related feature/bug sanitizer Sanitizer layer issues/changes/specification labels Oct 28, 2024
@yingcong-wu yingcong-wu marked this pull request as draft October 28, 2024 07:01
@yingcong-wu yingcong-wu marked this pull request as ready for review October 28, 2024 07:05
@@ -291,6 +291,7 @@ class SanitizerInterceptor {
std::shared_ptr<DeviceInfo> &DeviceInfo);

private:
AsanOptions m_Options;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary changes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a needed change because we need to make sure AsanOptions destucts after ContextInfo so that we can use it in the ~ContextInfo().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
loader Loader related feature/bug sanitizer Sanitizer layer issues/changes/specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants