code: def callback_rocm_link(obj_bin):
      """Links object file generated from LLVM to HSA Code Object
  
      Parameters
      ----------
      obj_bin : bytearray
          The object file
  
      Return
      ------
      cobj_bin : bytearray
          The HSA Code Object
      """
      tmp_dir = utils.tempdir()
      tmp_obj = tmp_dir.relpath("rocm_kernel.o")
      tmp_cobj = tmp_dir.relpath("rocm_kernel.co")
      with open(tmp_obj, "wb") as out_file:
          out_file.write(bytes(obj_bin))
      rocm_link(tmp_obj, tmp_cobj)
      cobj_bin = bytearray(open(tmp_cobj, "rb").read())
      return cobj_bin
  
file_path: tvm/python/tvm/contrib/rocm.py
imports: import re
  import subprocess
  import os
  from os.path import join, exists
  import tvm._ffi
  from tvm._ffi.base import py_str
  import tvm.runtime
  import tvm.target
  from .None import utils
label_desc: Use image node_id 3 for calling a global function with example usage: callback_rocm_link(obj_bin) and returns: cobj_bin