   /// - Parameter content: response file's content to be tokenized.
   private static func tokenizeResponseFile(_ content: String) -> [String] {
     return content
-      .split(separator: "\n")
-      .map { tokenizeResponseFileLine($0) }
-      .filter { !$0.isEmpty }
+      .split(separator: "\n").map { $0 }
+      .compactMap { tokenizeResponseFileLine($0) }
   }
   
   /// Recursively expands the response files.

    // Go through each arg and add arguments from response files.
    for arg in args {
      if arg.first == "@", let responseFile = try? AbsolutePath(validating: String(arg.dropFirst())) {
        // Guard against infinity parsing loop.
        guard visitedResponseFiles.insert(responseFile).inserted else {
          diagnosticsEngine.emit(.warn_recursive_response_file(responseFile))
          continue

      
      result.append(char)
    }
    return result.isEmpty ? nil : result
  }

  /// Tokenize each line of the response file, omitting empty lines.
