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

[clang] Use IsVolatile=true and RequiresNullTerminator=false for PCMs #1327

Merged
merged 1 commit into from
Jun 10, 2020

Conversation

Bigcheese
Copy link

This change got missed while upstreaming
https://reviews.llvm.org/D77772. This is the part of that change that
actually passes the correct arguments when opening a PCM.

The test didn't catch this because it starts at the
MemoryBuffer::getOpenFile level. It's not really possible to test
ModuleManager::addModule itself to verify how the file was opened.

(cherry picked from commit 1727c6a)

rdar://59908962

This change got missed while upstreaming
https://reviews.llvm.org/D77772. This is the part of that change that
actually passes the correct arguments when opening a PCM.

The test didn't catch this because it starts at the
`MemoryBuffer::getOpenFile` level. It's not really possible to test
`ModuleManager::addModule` itself to verify how the file was opened.

(cherry picked from commit 1727c6a)

rdar://59908962

# Conflicts:
#	clang/lib/Serialization/ModuleManager.cpp
@Bigcheese
Copy link
Author

@swift-ci please test

@Bigcheese Bigcheese merged commit 5cbb4fe into swiftlang:apple/stable/20200108 Jun 10, 2020
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.

2 participants