using command : clang hello.cpp -o hello -lstdc++ is OK, but:
clang hello.cpp -o hello -lstdc++ -ccc-print-phases
+- 0: input, "hello.cpp", c++
+- 1: preprocessor, {0}, c++-cpp-output
+- 2: compiler, {1}, ir
+- 3: backend, {2}, assembler
+- 4: assembler, {3}, object
clang: /home/qiwei/llvm-project/llvm/include/llvm/ADT/SmallVector.h:308: const_reference llvm::SmallVectorTemplateCommon<const char *>::operator const [T = const char *]: Assertion `idx < size()' failed.