Print the "no plugin" warning only when there is no plugin and not when the typesystem failed to initialize.
rdar://72562341
Differential D95992
Print the "no plugin" warning only when there is no plugin aprantl on Feb 3 2021, 6:21 PM. Authored by
Details Print the "no plugin" warning only when there is no plugin and not when the typesystem failed to initialize. rdar://72562341
Diff Detail Event TimelineComment Actions If you can bypass the check for a valid module on line 5682, you might be able to write a unit test by setting the function in the SymbolContext to return an unsupported language. Comment Actions The feature itself is already being tested by lldb/test/Shell/Process/UnsupportedLanguage.test. In order to test this change we would have to force TypeSystemClang to fail to initialize somehow. The only way to do this would be to pass in an invalid arch, but if we do that we won't get to the point where this warning would be printed. (The bugfix is intended for Swift plugin, which does fail to initialize more easily). |