Skip to content

Commit ad9a7ef

Browse files
committed
[Driver] .tbd files are linker inputs
1 parent fb42e07 commit ad9a7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1964,6 +1964,7 @@ void Driver::buildActions(SmallVectorImpl<const Action *> &TopLevelActions,
19641964
}
19651965
case file_types::TY_AutolinkFile:
19661966
case file_types::TY_Object:
1967+
case file_types::TY_TBD:
19671968
// Object inputs are only okay if linking.
19681969
if (OI.shouldLink()) {
19691970
AllLinkerInputs.push_back(Current);
@@ -1987,7 +1988,6 @@ void Driver::buildActions(SmallVectorImpl<const Action *> &TopLevelActions,
19871988
case file_types::TY_IndexData:
19881989
case file_types::TY_PCH:
19891990
case file_types::TY_ImportedModules:
1990-
case file_types::TY_TBD:
19911991
case file_types::TY_ModuleTrace:
19921992
case file_types::TY_YAMLOptRecord:
19931993
case file_types::TY_BitstreamOptRecord:

0 commit comments

Comments
 (0)