Merge remote-tracking branch 'origin/main' into rebranch

This commit is contained in:
swift-ci
2023-09-22 22:17:24 -07:00
2 changed files with 14 additions and 0 deletions

View File

@@ -1483,6 +1483,9 @@ void IRGenModule::addLinkLibrary(const LinkLibrary &linkLib) {
// emit it into the IR of debugger expressions.
if (Context.LangOpts.DebuggerSupport)
return;
if (Context.LangOpts.hasFeature(Feature::Embedded))
return;
switch (linkLib.getKind()) {
case LibraryKind::Library: {