Skip to content

Avoid polluting user asan configs with ADDRESS_SANITIZE defines#2094

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/930262427
Open

Avoid polluting user asan configs with ADDRESS_SANITIZE defines#2094
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/930262427

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Avoid polluting user asan configs with ADDRESS_SANITIZE defines

This leverages Abseil's portable ASAN detection, relies primarily on SANITIZE_ADDRESS, which is set by gcc and msvc. It falls back to __has_feature for clang.

This leverages Abseil's portable ASAN detection, relies primarily on __SANITIZE_ADDRESS__, which is set by gcc and msvc.  It falls back to __has_feature for clang.

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