Skip to content

Commit 0ad144c

Browse files
Merge pull request #80697 from adrian-prantl/147797657-6.1
[LLDB] Fix conditional to also support AccessLevel::Open
2 parents 7bf543c + 856d12b commit 0ad144c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/IRGenSIL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8398,7 +8398,7 @@ void IRGenSILFunction::visitClassMethodInst(swift::ClassMethodInst *i) {
83988398
// debugger.
83998399
bool shouldUseDispatchThunkIfInDebugger =
84008400
!classDecl->getASTContext().LangOpts.DebuggerSupport ||
8401-
methodAccess == AccessLevel::Public;
8401+
methodAccess >= AccessLevel::Public;
84028402
if (IGM.hasResilientMetadata(classDecl, ResilienceExpansion::Maximal) &&
84038403
shouldUseDispatchThunkIfInDebugger) {
84048404
shouldUseDispatchThunk = true;

0 commit comments

Comments
 (0)