private DataType structMappingInfoToDataType(StructureMappingInfo<?> smi) {
		if (smi.getStructureDataType() == null) {
			return null;
		}
		DataType existingDT = findType(smi.getStructureName(),
			List.of(DWARFProgram.DWARF_ROOT_CATPATH, DWARFProgram.UNCAT_CATPATH), programDTM);
		if (existingDT == null) {
			existingDT = smi.getStructureDataType();
		}
		if (existingDT == null) {
			Msg.warn(this, "Missing type: " + smi.getDescription());
		}
		return existingDT;
	}
Export the currently registered struct mapping types to a gdt file, producing a bootstrap
GDT archive.
<p>
The struct data types will either be from the current program's DWARF data, or
from an earlier golang.gdt (if this binary doesn't have DWARF)

@param gdtFile destination {@link File} to write the bootstrap types to
@param runtimeFuncSnapshot boolean flag, if true include function definitions
@param monitor {@link TaskMonitor}
@throws IOException if error
@throws CancelledException if cancelled
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoRttiMapper.java