Skip to content

Always run the name generators passed to TraceMe on debug builds to help catch bugs#3484

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_865154634
Open

Always run the name generators passed to TraceMe on debug builds to help catch bugs#3484
copybara-service[bot] wants to merge 1 commit intomainfrom
test_865154634

Conversation

@copybara-service
Copy link

Always run the name generators passed to TraceMe on debug builds to help catch bugs

Today, the name generators are run only when there is an active tracing session, which means that none of the code inside the name generators are tested at all. Since users sometimes perform non-trivial work (such as accessing pointers that may be dangling) inside the name generators, it is useful to test such code by always invoking the name generators in debug builds where the extra overhead is n...

…elp catch bugs

Today, the name generators are run only when there is an active tracing session, which means that none of the code inside the name generators are tested at all. Since users sometimes perform non-trivial work (such as accessing pointers that may be dangling) inside the name generators, it is useful to test such code by always invoking the name generators in debug builds where the extra overhead is n...

PiperOrigin-RevId: 865154634
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