public DWARFLocationList getLocationList(DIEAggregate diea, DWARFAttribute attribute)
			throws IOException {
		DWARFAttributeValue attrib = diea.getAttribute(attribute);
		if (attrib == null) {
			return DWARFLocationList.EMPTY;
		}
		if (attrib instanceof DWARFNumericAttribute dnum) {
			return readLocationList(dnum, diea.getCompilationUnit());
		}
		else if (attrib instanceof DWARFBlobAttribute dblob) {
			return DWARFLocationList.withWildcardRange(dblob.getBytes());
		}
		else {
			throw new IOException("Unsupported form %s.".formatted(attrib));
		}

	}
Returns the {@link DWARFLocationList} pointed to by the specified attribute value.

@param diea {@link DIEAggregate}
@param attribute attribute id that points to the location list
@return {@link DWARFLocationList}, never null
@throws IOException if specified attribute is not the correct type, or if other error reading
data
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFProgram.java