Voids LLVM toolchain does not ship with compiler-rt for all targets, those are
installed into the target sysroot instead.
Since chromium needs both the host and the target compiler-rt  this adds an
additional `clang_cross_path` to specify the clang cross sysroot.
--- a/build/config/clang/BUILD.gn
+++ b/build/config/clang/BUILD.gn
@@ -215,7 +215,11 @@
         assert(false)  # Unhandled target platform
       }

-      _clang_lib_dir = "$clang_base_path/lib/clang/$clang_version/lib"
+      if (current_cpu != target_cpu) {
+        _clang_lib_dir = "$clang_base_path/lib/clang/$clang_version/lib"
+      } else {
+        _clang_lib_dir = "$clang_cross_path/lib/clang/$clang_version/lib"
+      }
       _lib_file = "${_prefix}clang_rt.${_libname}${_suffix}.${_ext}"
       libs = [ "$_clang_lib_dir/$_dir/$_lib_file" ]
     }
--- a/build/config/clang/clang.gni
+++ b/build/config/clang/clang.gni
@@ -36,6 +36,7 @@
        is_mac || is_ios || is_chromeos)

   clang_base_path = default_clang_base_path
+  clang_cross_path = default_clang_base_path

   # Specifies whether or not bitcode should be embedded during compilation.
   # This is used for creating a MLGO corpus from Chromium in the non-ThinLTO case.
