         return "Swift help"
 
     case .backend:
-      return "Embedding bitcode for \(moduleName) \(displayInputs.first?.file.name ?? "")"
+      return "Embedding bitcode for \(moduleName) \(displayInputs.first?.file.basename ?? "")"
 
     case .scanDependencies:
       return "Scanning dependencies for module \(moduleName)"


extension Job : CustomStringConvertible {
  public var description: String {
    let moduleName = "hello"
    switch kind {
    case .compile:
        return "Compiling \(moduleName) \(displayInputs.first?.file.name ?? "")"

    case .mergeModule:
        return "Merging module \(moduleName)"

        return "Emitting module for \(moduleName)"

    case .generatePCH:
        return "Compiling bridging header \(displayInputs.first?.file.basename ?? "")"

    case .generatePCM:
        return "Compiling Clang module \(displayInputs.first?.file.basename  ?? "")"

    case .interpret:
        return "Interpreting \(displayInputs.first?.file.name ?? "")"
