From b2851b369dd7288a48cd9b35fd69016d4a3d8181 Mon Sep 17 00:00:00 2001 From: "William S. Moses" Date: Sun, 11 Aug 2024 21:49:57 -0400 Subject: [PATCH] more c++ --- enzyme/Enzyme/EnzymeLogic.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/enzyme/Enzyme/EnzymeLogic.cpp b/enzyme/Enzyme/EnzymeLogic.cpp index 45fb2328f77..c1a21f58928 100644 --- a/enzyme/Enzyme/EnzymeLogic.cpp +++ b/enzyme/Enzyme/EnzymeLogic.cpp @@ -6239,6 +6239,7 @@ llvm::Function *EnzymeLogic::CreateNoFree(RequestContext context, Function *F) { // clang-format off StringSet<> NoFreeDemangles = { + "std::__u::basic_streambuf>::basic_streambuf()", "std::__u::basic_string, std::__u::allocator>::~basic_string()", "std::__u::basic_stringstream, std::__u::allocator>::~basic_stringstream()", "std::__u::basic_streambuf>::~basic_streambuf()", @@ -6395,6 +6396,11 @@ llvm::Function *EnzymeLogic::CreateNoFree(RequestContext context, Function *F) { "std::__1::basic_ostream>::write(char const*, long)", }; const char* NoFreeDemanglesStartsWith[] = { + "std::__u::basic_string, std::__u::allocator>::__init", + "std::__u::basic_stringbuf, std::__u::allocator>::str", + "std::__u::basic_istream>::operator>>", + "std::__u::basic_istream>::ignore", + "std::__u::basic_istream>::get", "std::__u::basic_ostream>::operator<<", "std::__u::basic_ostream>::operator<<", "std::__u::basic_ostream>& std::__u::operator<<",