Xen makes use of various techniques to conditionally remove code from the final binary. From Kconfig, to preprocessor tricks and DCE. This session explains a number of exotic key techniques used at AMD to drastically reduce code footprint with minimal changes to the source code. It highlights the set of constraints and requirements behind the new techniques and specific examples where they apply, with metrics showing the gains.