DWARF is a general-purpose debugging information format. It was designed with ELF, but is independent of that object format.