Skip to content

Mark tests that require a SwiftASTContext fallback #10055

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
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ def test_extra_clang_flags(self):
VFS overlay using target.swift-extra-clang-flags.
"""
self.build()

# Because the bridging header isn't precompiled or in a module
# we don't have DWARF type information for the types it contains.
self.expect("settings set symbols.swift-typesystem-compiler-fallback true")

# FIXME: this doesn't work if LLDB's build dir contains a space.
overlay = self.getBuildArtifact('overlay.yaml')
self.addTearDownHook(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def dotest(self, remap):
log = self.getBuildArtifact("types.log")
self.runCmd('log enable lldb types -f "%s"' % log)

# Because the bridging header isn't precompiled or in a module
# we don't have DWARF type information for the types it contains.
self.expect("settings set symbols.swift-typesystem-compiler-fallback true")

# To ensure the module is rebuilt remove the cache to avoid caching.
mod_cache = self.getBuildArtifact("my-clang-modules-cache")
if os.path.isdir(mod_cache):
Expand Down