@Override
	public String toString(DWARFCompilationUnit cu) {
		try {
			DWARFProgram prog = cu.getProgram();
			int index = getIndex();
			long offset = prog.getOffsetOfIndexedElement(getAttributeForm(), index, cu);
			if (getAttributeForm().isClass(DWARFAttributeClass.address)) {
				return "%s : %s, addr v%d 0x%x (idx %d)".formatted(getAttributeName(),
					getAttributeForm(), cu.getDWARFVersion(), offset, index);
			}
			else if (getAttributeForm().isClass(DWARFAttributeClass.rnglist)) {
				return toElementLocationString("rnglist", DWARFSectionNames.DEBUG_RNGLISTS, index,
					offset, cu.getDWARFVersion());
			}
			else if (getAttributeForm().isClass(DWARFAttributeClass.loclist)) {
				return toElementLocationString("loclist", DWARFSectionNames.DEBUG_LOCLISTS, index,
					offset, cu.getDWARFVersion());
			}
			else if (getAttributeForm().isClass(DWARFAttributeClass.string)) {
				return toElementLocationString("string", DWARFSectionNames.DEBUG_LOCLISTS, index,
					offset, cu.getDWARFVersion());
			}
		}
		catch (IOException e) {
			// fall thru to default
		}
		return super.toString(cu);
	}
DWARF numeric attribute value that is an index into a lookup table
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/attribs/DWARFIndirectAttribute.java