https://github.com/maskray/picolld
A stripped-down LLD (LLVM linker)
https://github.com/maskray/picolld
Last synced: 8 months ago
JSON representation
A stripped-down LLD (LLVM linker)
- Host: GitHub
- URL: https://github.com/maskray/picolld
- Owner: MaskRay
- License: other
- Created: 2020-04-11T06:23:37.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-11T15:40:56.000Z (almost 6 years ago)
- Last Synced: 2025-04-13T00:36:18.804Z (11 months ago)
- Language: C++
- Size: 314 KB
- Stars: 29
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
Awesome Lists containing this project
README
picolld (stripped-down lld)
===========================
With `llvm-config` in PATH,
```sh
mkdir out
cd out
cmake /path/to/picolld -G Ninja
ninja lld
```
Based on llvm-project/lld on 2020-04-10. Deleted
* MIPS: ~3000 lines
* LTO: ~800 lines
* basic block sections: ~400 lines
Removing the dependency on LLVM is possible, but it would require lots of efforts:
* `llvm/DebugInfo/DWARF/`: .eh_frame support
* `llvm/Object/`: ELF parsing
* `llvm/Option/Option.h`: command line parsing
* `llvm/ADT/`: STL extensions