Path: blob/main/system/lib/llvm-libc/readme.txt
6162 views
llvm's libc1-----------23These files are from the llvm-project based on release 21.1.8.45We maintain a local fork of llvm-project that contains any Emscripten6specific patches:78https://github.com/emscripten-core/llvm-project910The current patch is based on the emscripten-libs-21 branch.1112Currently in production, we do not use LLVM's libc directly yet, but libcxx uses13a subset of headers from libc. So libcxx directly depends on the following14directories:15- libc/hdr16- libc/include/llvm-libc-macros17- libc/include/llvm-libc-types18- libc/shared19- libc/src/__support2021In addition, we are experimenting with using llvm-libc in overlay mode. You can22enable this by running with `EMCC_CFLAGS=-lllvmlibc`. See23https://libc.llvm.org/overlay_mode.html for more details.2425Update Instructions26-------------------2728Run `system/lib/update_libcxx.py path/to/llvm-project`29Run `system/lib/update_llvm_libc.py path/to/llvm-project`3031Modifications32-------------3334For a list of changes from upstream see the libcxx files that are part of:3536https://github.com/llvm/llvm-project/compare/llvmorg-21.1.8...emscripten-core:emscripten-libs-21373839