If you want to replace by compiler-rt and other LLVM's equal substitution, use
clang++ -stdlib=libc++ -rtlib=compiler-rt --unwindlib=libunwind
it uses libc++ to replace libstdc++. compiler-rt instead of libgcc. and specific libunwind to unwind to remove libgcc_s