Skip to content

Commit e41ce63

Browse files
committed
Use module name from druntime for more symbols
1 parent 97f2ed7 commit e41ce63

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

projects/common/output-config.json

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,48 @@
1212
"strtok", "strxfrm"
1313
]}, "moduleName": "core.stdc.string", "extraPrefix": "%P"},
1414

15+
{"match": {"filename": "(?P<P>wine|glibc)/.*", "name": [
16+
"wcschr", "wcscmp", "wcscpy", "wcslen", "wmemcmp",
17+
"wmemcpy", "wmemmove", "wprintf"
18+
]}, "moduleName": "core.stdc.wchar_", "extraPrefix": "%P"},
19+
1520
{"match": {"filename": "(?P<P>wine|glibc)/.*", "name": ["free", "malloc",
1621
"calloc", "realloc", "abort", "wcstombs", "exit", "qsort", "atoi",
17-
"strtol", "strtoll", "rand", "srand"
22+
"strtol", "strtoll", "rand", "srand", "strtoul", "strtod", "strtold",
23+
"strtof", "wctomb", "labs", "llabs"
1824
]}, "moduleName": "core.stdc.stdlib", "extraPrefix": "%P"},
1925

2026
{"match": {"filename": "(?P<P>wine|glibc)/.*", "name": ["FILE", "_iobuf",
2127
"_IO_FILE", "fprintf", "fopen", "fread", "perror", "printf", "fclose", "fileno", "stdin", "stdout",
2228
"stderr", "fflush", "fputc", "fwrite", "ferror", "fseek", "SEEK_SET", "SEEK_END", "SEEK_CUR", "ftell",
2329
"snprintf", "sprintf", "fputs", "puts", "putchar", "putc",
24-
"rename", "vsprintf", "vsnprintf", "BUFSIZ"
30+
"rename", "_?vsprintf", "_?vsnprintf", "BUFSIZ", "vfprintf", "ungetc", "rewind",
31+
"fgetc", "remove", "getc", "fgets", "EOF"
2532
]}, "moduleName": "core.stdc.stdio", "extraPrefix": "%P"},
2633

2734
{"match": {"filename": "(?P<P>wine|glibc)/.*", "name": [
2835
"isalnum", "isalpha", "isblank", "iscntrl", "isdigit", "isgraph",
2936
"islower", "isprint", "ispunct", "isspace", "isupper", "isxdigit", "tolower", "toupper"
3037
]}, "moduleName": "core.stdc.ctype", "extraPrefix": "%P"},
3138

39+
{"match": {"filename": "(?P<P>wine|glibc)/.*", "name": [
40+
"time_t", "time", "mktime", "ctime", "localtime", "gmtime",
41+
"strftime", "tm", "difftime"
42+
]}, "moduleName": "core.stdc.time", "extraPrefix": "%P"},
43+
44+
{"match": {"filename": "(?P<P>wine|glibc)/.*", "name": [
45+
"u?int(|_least|_fast)[0-9]*_t", "u?intptr_t", "u?intmax_t",
46+
"U?INT(|_LEAST|_FAST)[0-9]*_(MAX|MIN)", "U?INTPTR_(MAX|MIN)", "U?INTMAX_(MAX|MIN)",
47+
"PTRDIFF_(MAX|MIN)", "SIZE_MAX", "WCHAR_(MAX|MIN)", "WINT_(MAX|MIN)"
48+
]}, "moduleName": "core.stdc.stdint", "extraPrefix": "%P"},
49+
50+
{"match": {"filename": "(?P<P>wine|glibc)/.*", "name": [
51+
"NAN", "INFINITY", "pow", "floor", "ceil", "isnan", "isinf", "fabs", "copysign", "powl",
52+
"log10", "fmod", "nan", "modf", "HUGE_VAL(|F|L)",
53+
"FP_INFINITE", "FP_NAN", "FP_SUBNORMAL", "FP_ZERO",
54+
"fpclassify", "fmodl", "floorl"
55+
]}, "moduleName": "core.stdc.math", "extraPrefix": "%P"},
56+
3257
{"match": {"filename": "gcc-rt/orig/include-cxx/.*"}, "moduleName": "libcxx.libcxx"},
3358

3459
{"match": {"name": "ulong"}, "moduleName": "core.stdc.config"},
@@ -38,7 +63,6 @@
3863
{"match": {"name": "p_stat"}, "rename": "p_stat_t"},
3964
{"match": {"name": "statvfs"}, "rename": "statvfs_t"},
4065
{"match": {"name": "timezone"}, "rename": "timezone_t"},
41-
{"match": {"name": "tm"}, "rename": "tm_t"},
4266
],
4367
"macroReplacements": {
4468
"SHRT_MAX": "short.max",

0 commit comments

Comments
 (0)