Skip to content

[cxx-interop] Fix ASAN error #61154

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

Merged
merged 1 commit into from
Sep 16, 2022
Merged

[cxx-interop] Fix ASAN error #61154

merged 1 commit into from
Sep 16, 2022

Conversation

egorzhdan
Copy link
Contributor

e3c5838 introduced an ASAN error:

ERROR: AddressSanitizer: stack-use-after-scope on address ...
in swift::ClangImporter::Implementation::loadModuleClang ...
SUMMARY: AddressSanitizer: stack-use-after-scope ClangImporter.cpp:1903 in swift::ClangImporter::Implementation::loadModuleClang

rdar://99986478

`e3c58386` introduced an ASAN error:
```
ERROR: AddressSanitizer: stack-use-after-scope on address ...
in swift::ClangImporter::Implementation::loadModuleClang ...
SUMMARY: AddressSanitizer: stack-use-after-scope ClangImporter.cpp:1903 in swift::ClangImporter::Implementation::loadModuleClang
```

rdar://99986478
@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Sep 16, 2022
@egorzhdan
Copy link
Contributor Author

@swift-ci Please ASAN test

@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan
Copy link
Contributor Author

@swift-ci Please ASAN test

@egorzhdan egorzhdan merged commit 826adfd into main Sep 16, 2022
@egorzhdan egorzhdan deleted the egorzhdan/cxxstdlib-asan-fix branch September 16, 2022 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant