asmith added inline comments.
================ Comment at: source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp:393 + bool is_regex = false; + if (name_str.find_first_of("[]?*.-+\\") != std::string::npos) { + // Trying to compile an invalid regex could throw an exception. ---------------- The find_first could be removed depending on the cost of lldb_private::RegularExpression() Repository: rL LLVM https://reviews.llvm.org/D41086 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits