microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.52k stars 1.55k forks source link

Binary files for Linux to be stripped #10074

Open sean-mcmanus opened 1 year ago

sean-mcmanus commented 1 year ago

Discussed in https://github.com/microsoft/vscode-cpptools/discussions/9976

Originally posted by **zorrohahaha** October 8, 2022 After installing the extension for Linux, I checked it is a very large set and occupies more than 200M disk space. .vscode-server/extensions/ms-vscode.cpptools-1.12.4-linux-x64/bin/cpptools: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=45b405570cb604136dd291c750220f29e212d0ac, **with debug_info, not stripped** .vscode-server/extensions/ms-vscode.cpptools-1.12.4-linux-x64/LLVM/bin/clang-format: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=55869c1ecea634dc5b37f9d18222b2dac56c8158, **not stripped** .vscode-server/extensions/ms-vscode.cpptools-1.12.4-linux-x64/LLVM/bin/clang-tidy: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=6fe2067ab8b83c3db73ec57967feff94bf6760d9, **not stripped**
sean-mcmanus commented 1 year ago

I'm seeing it use 130 MB of disk space (about 100 MB from clang-tidy and clang-format, 30 MB from cpptools and cpptools-srv).