Generalize debug info / EH emission in AsmPrinter