| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-09-21 | compiler: move struct types into InternPool proper | Andrew Kelley | |
| Structs were previously using `SegmentedList` to be given indexes, but were not actually backed by the InternPool arrays. After this, the only remaining uses of `SegmentedList` in the compiler are `Module.Decl` and `Module.Namespace`. Once those last two are migrated to become backed by InternPool arrays as well, we can introduce state serialization via writing these arrays to disk all at once. Unfortunately there are a lot of source code locations that touch the struct type API, so this commit is still work-in-progress. Once I get it compiling and passing the test suite, I can provide some interesting data points such as how it affected the InternPool memory size and performance comparison against master branch. I also couldn't resist migrating over a bunch of alignment API over to use the log2 Alignment type rather than a mismash of u32 and u64 byte units with 0 meaning something implicitly different and special at every location. Turns out you can do all the math you need directly on the log2 representation of alignments. | |||
| 2023-09-13 | elf: parse archives | Jakub Konka | |
| 2023-09-13 | elf: add u64 to usize casts where required | Jakub Konka | |
| 2023-09-12 | elf: clean up and unify symbol ref handling in relocs | Jakub Konka | |
| Also, this lets us re-enable proper undefined symbols tracking. | |||
| 2023-09-12 | elf: resolve and write objects to file | Jakub Konka | |
| 2023-09-12 | elf: set output section index of a global when resolving | Jakub Konka | |
| 2023-09-12 | elf: set output section index when parsing objects | Jakub Konka | |
| 2023-09-12 | elf: add simplistic reloc scanning mechanism | Jakub Konka | |
| 2023-09-12 | elf: claim unresolved dangling symbols that can be claimed | Jakub Konka | |
| 2023-09-12 | elf: mark imports-exports; populate symtab with objects | Jakub Konka | |
| 2023-09-12 | elf: add simplistic symbol resolution | Jakub Konka | |
| 2023-09-12 | elf: start fixing symbol resolution | Jakub Konka | |
| 2023-09-12 | elf: report undefined symbols in objects | Jakub Konka | |
| 2023-09-11 | elf: add prelim impl of Object parsing | Jakub Konka | |
