Skip to content

Commit 4460d33

Browse files
authored
Update ActivityAnalysis.cpp (rust-lang#658)
* Mark additional IO functions as inactive
1 parent f530741 commit 4460d33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

enzyme/Enzyme/ActivityAnalysis.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ const char *KnownInactiveFunctionsStartingWith[] = {
8585
"$ss5print",
8686
"_ZNSt7__cxx1112basic_string",
8787
"_ZNSt7__cxx1118basic_string",
88+
"_ZNKSt7__cxx1112basic_string",
8889
// ostream generic <<
8990
"_ZStlsISt11char_traitsIcEERSt13basic_ostream",
9091
"_ZSt16__ostream_insert",
@@ -186,6 +187,7 @@ const std::set<std::string> KnownInactiveFunctions = {
186187
"putchar",
187188
"fprintf",
188189
"vprintf",
190+
"vsnprintf",
189191
"puts",
190192
"fflush",
191193
"__kmpc_for_static_init_4",

0 commit comments

Comments
 (0)