microsoft / microsoft/vscode-cpptools
Binary files for Linux to be stripped
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the Linux extension bundle includes cpptools, LLVM/bin/clang-format, and LLVM/bin/clang-tidy. Verify the packaged ELF files no longer contain unnecessary debug information or symbols, and confirm the resulting Linux extension is smaller than the reported bundle.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- build-system, performance, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100