(xcode, editedSourceFile)
| 865 | } |
| 866 | |
| 867 | function xcodeObjectFiles(xcode, editedSourceFile) { |
| 868 | if (!xcode) { |
| 869 | return []; |
| 870 | } |
| 871 | if (xcode.debugDylibPath) { |
| 872 | return [xcode.debugDylibPath]; |
| 873 | } |
| 874 | const editedBaseName = path.basename( |
| 875 | editedSourceFile, |
| 876 | path.extname(editedSourceFile), |
| 877 | ); |
| 878 | return xcode.objectFiles.filter((file) => { |
| 879 | const name = path.basename(file, ".o"); |
| 880 | return name !== editedBaseName && !name.startsWith(`${editedBaseName}.`); |
| 881 | }); |
| 882 | } |
| 883 | |
| 884 | function collectXcodeObjectFiles(settings, arch) { |
| 885 | const roots = [ |
no outgoing calls
no test coverage detected