Skip to content

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

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

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
Copy Markdown

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
@copybara-service copybara-service Bot closed this Feb 25, 2026
@copybara-service copybara-service Bot deleted the test_865154634 branch February 25, 2026 19:13
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