code: def export_target(
      merged_file: str,
      json_file: str,
      binary_file: str,
      shared_library_list: List[str],
      platform_type: TestPlatform,
  ) -> None:
      if binary_file is None:
          raise Exception(
              f"{merged_file} doesn't have corresponding binary!"
          )
      print_log("start to export: ", merged_file)
      # run export
      cmd_shared_library = (
          ""
          if not shared_library_list
          else f" -object  {' -object '.join(shared_library_list)}"
      )
      # if binary_file = "", then no need to add it (python test)
      cmd_binary = "" if not binary_file else f" -object {binary_file} "
      llvm_tool_path = get_tool_path_by_platform(platform_type)
  
      cmd = f"{llvm_tool_path}/llvm-cov export {cmd_binary} {cmd_shared_library}  -instr-profile={merged_file} > {json_file}"
      os.system(cmd)
  
file_path: pytorch/tools/code_coverage/package/tool/clang_coverage.py
imports: import os
  import subprocess
  import time
  from typing import List
  from ..util.setting import JSON_FOLDER_BASE_DIR, MERGED_FOLDER_BASE_DIR, TestList, TestPlatform, TestType
  from ..util.utils import check_platform_type, convert_to_relative_path, create_folder, get_raw_profiles_folder, get_test_name_from_whole_path, print_log, print_time, related_to_test_list, replace_extension
  from .utils import get_tool_path_by_platform, run_cpp_test
label_desc: Use image node_id 4 for calling a global function with example usage: export_target(merged_file, json_file, binary_file, shared_library_list, platform_type) without return types