I think adding symbol-names support in LDC directly would be quite straight-forward - by replacing the symbol names in the assembly template string with the operand's underlying numeric ID. See https://github.com/ldc-developers/ldc/blob/d4f2bed3a45688b32434d429e39c22dea5a9ffda/gen/asm-gcc.cpp#L186-L196. The raw string would be `insn`.