protected DebugInfoEntry newArray(DebugInfoEntry baseTypeDIE, boolean elideEmptyDimRangeValue,
			int... dimensions) {
		ensureCompUnit();
		DebugInfoEntry arrayType = new DIECreator(dwarfProg, DW_TAG_array_type) //
				.addRef(DW_AT_type, baseTypeDIE)
				.create();
		for (int dimIndex = 0; dimIndex < dimensions.length; dimIndex++) {
			int dim = dimensions[dimIndex];
			DIECreator dimDIE = new DIECreator(dwarfProg, DW_TAG_subrange_type) //
					.setParent(arrayType);
			if (dim != -1 || !elideEmptyDimRangeValue) {
				dimDIE.addInt(DW_AT_upper_bound, dimensions[dimIndex]);
			}
			dimDIE.create();
		}
		return arrayType;
	}
Base class for unit tests needing DWARF DIEs.  Provides 2 DWARF compile-units and helper
methods to create DIE records.
Ghidra/Features/Base/src/test/java/ghidra/app/util/bin/format/dwarf/DWARFTestBase.java