daltenty added inline comments.
================ Comment at: clang/lib/CodeGen/CGDeclCXX.cpp:583 + if (UseSinitAndSterm) + GlobalUniqueModuleId = getUniqueModuleId(&getModule()).substr(1); + ---------------- if `getUniqueModuleId()` returns an empy string, which it does for modules which don't export any symbols, the `substr()` will throw an `OutOfRange` exception. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74166/new/ https://reviews.llvm.org/D74166 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits