Skip to content

Commit cc4cda8

Browse files
committed
[lldb] Remove suggestion to run with '-d run-target'
Stop suggesting running with '-d run-target'. This no longer has any effect, since we now always bind generic types in the expression evaluator. rdar://76517425 (cherry picked from commit ea0cc76)
1 parent 3c32d2d commit cc4cda8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -701,12 +701,8 @@ static llvm::Optional<llvm::Error> AddVariableInfo(
701701
// Not realizing self is a fatal error for an expression and the
702702
// Swift compiler error alone is not particularly useful.
703703
if (is_self)
704-
return make_error<StringError>(
705-
inconvertibleErrorCode(),
706-
llvm::Twine("Couldn't realize type of self.") +
707-
(use_dynamic
708-
? ""
709-
: " Try evaluating the expression with -d run-target"));
704+
return make_error<StringError>(inconvertibleErrorCode(),
705+
"Couldn't realize type of self.");
710706
return {};
711707
}
712708

0 commit comments

Comments
 (0)