Skip to content

Commit 0735bb8

Browse files
Merge pull request #11403 from adrian-prantl/cherry-pick-next-lldb-Fix-TestSwiftFModuleFlags.py
[Cherry-pick into next] [lldb] Fix TestSwiftFModuleFlags.py
2 parents 1f8beb1 + 0cd99a4 commit 0735bb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,10 +1821,10 @@ void SwiftASTContext::ConfigureModuleValidation(
18211821
#endif
18221822
}
18231823

1824-
if (!validate_pcm) {
1824+
if (!validate_pcm)
18251825
extra_args.push_back("-fno-modules-check-relocated");
1826-
LOG_PRINTF(GetLog(LLDBLog::Types), "PCM validation is disabled");
1827-
}
1826+
LOG_PRINTF(GetLog(LLDBLog::Types), "PCM validation is %s",
1827+
validate_pcm ? "disabled" : "enabled");
18281828
}
18291829

18301830
void SwiftASTContext::AddExtraClangArgs(

0 commit comments

Comments
 (0)