Compiler-Assisted Xen Code Elimination
summary
Describes concrete steps to shrink a Xen build: enable GC sections to drop unreachable functions, exploit compiler passes like value range propagation plus constant folding and dead‑code elimination, and use a clever no return macro that forces case values to be constants so large opcode switches disappear. Results show the emulator shrinks and build time drops, with about a 7% size reduction on the hypervisor; remaining problems are indirect function‑pointer tables and trace/coverage bookkeeping requiring tests and linker visibility.
AI-written summary · about
