MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / get_files

Method get_files

tools/system_libs.py:1041–1061  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1039 ]
1040
1041 def get_files(self):
1042 files = glob_in_path('system/lib/llvm-libc/src/assert', '*.cpp')
1043 files += glob_in_path('system/lib/llvm-libc/src/complex', '**/*.cpp')
1044 files += glob_in_path('system/lib/llvm-libc/src/string', '**/*.cpp', excludes={'memset.cpp', 'memcpy.cpp'} if self.is_asan else set())
1045 files += glob_in_path('system/lib/llvm-libc/src/intypes', '*.cpp')
1046 files += glob_in_path('system/lib/llvm-libc/src/strings', '**/*.cpp')
1047 files += glob_in_path('system/lib/llvm-libc/src/errno', '**/*.cpp')
1048 files += glob_in_path('system/lib/llvm-libc/src/math', '*.cpp')
1049 # Overlay mode doesn't support mbstate_t which is used by these wchar sources.
1050 files += glob_in_path('system/lib/llvm-libc/src/wchar', '*.cpp', excludes={'wcrtomb.cpp', 'mbrtowc.cpp', 'wctomb.cpp', 'mbtowc.cpp'})
1051 files += glob_in_path('system/lib/llvm-libc/src/setjmp', '*.cpp')
1052 files += glob_in_path('system/lib/llvm-libc/src/setjmp', '**/*.cpp')
1053 files += glob_in_path('system/lib/llvm-libc/src/stdlib', '*.cpp', excludes={'at_quick_exit.cpp',
1054 'quick_exit.cpp',
1055 'atexit.cpp',
1056 'exit.cpp',
1057 '_Exit.cpp',
1058 'getenv.cpp'})
1059 files += glob_in_path('system/lib/llvm-libc/src/math/generic', '**/*.cpp', excludes={'atan2l.cpp', 'exp_utils.cpp'})
1060 files += glob_in_path('system/lib/llvm-libc/src/__support/StringUtil', '**/*.cpp')
1061 return files
1062
1063
1064class libc(MuslInternalLibrary,

Callers

nothing calls this directly

Calls 2

glob_in_pathFunction · 0.85
setFunction · 0.50

Tested by

no test coverage detected