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

How to define suppression file to suppress a call stack frame in TSan? #1556

Closed
xwang1 opened this issue Aug 1, 2022 · 2 comments
Closed

Comments

@xwang1
Copy link

xwang1 commented Aug 1, 2022

The call stack frame looks like:
#0 fun_0
#1 fun_1
#2 fun_2

I want to ignore them all when these three functions appeared in one stack frame with this sequence, is it possible to do this?

I don't think one single function match suppression format works for my scenario:
race:fun_0
race:fun_1
race:fun_3

Please advise. Thanks.

@xwang1 xwang1 changed the title How to define suppressions file to suppress a call stack frame in TSan? How to define suppression file to suppress a call stack frame in TSan? Aug 1, 2022
@dvyukov
Copy link
Contributor

dvyukov commented Aug 1, 2022

No, it's not possible to do with suppressions.

@dvyukov dvyukov closed this as completed Aug 1, 2022
@xwang1
Copy link
Author

xwang1 commented Aug 1, 2022

Ok got it. Thanks @dvyukov

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

No branches or pull requests

2 participants