private boolean createActionRefsAndSymbols() throws CancelledException {
		monitor.setMessage("Creating Unwind action markup");
		boolean result = true;
		Program program = model.getProgram();

		for (int unwindEntryOrdinal = 0; unwindEntryOrdinal < count; unwindEntryOrdinal++) {
			monitor.checkCancelled();
			Address compAddress;
			Address actionAddress;
			try {
				compAddress = model.getComponentAddressOfActionAddress(unwindEntryOrdinal);
				actionAddress = model.getActionAddress(unwindEntryOrdinal);
			}
			catch (InvalidDataTypeException e) {
				throw new AssertException(e); // Shouldn't happen. create...() is only called if model is valid.
			}
			if (actionAddress == null) {
				continue; // No unwind action address for this UnwindMap record.
			}
			if (applyOptions.shouldCreateLabel()) {
				try {
					Symbol symbol =
						EHDataTypeUtilities.createSymbolIfNeeded(program, "Unwind", actionAddress);
					if (symbol == null) {
						result = false;
					}
				}
				catch (InvalidInputException e) {
					String message = "Couldn't create name for unwind action at " +
						actionAddress.toString() + ".";
					handleErrorMessage(program, compAddress, message + " " + e.getMessage(),
						message);
					result = false;
				}
			}
			if (applyOptions.shouldCreateFunction()) {
				boolean success =
					EHDataTypeUtilities.createFunctionIfNeeded(program, actionAddress);
				if (!success) {
					result = false;
				}
			}
		}
		return result;
	}
Constructs a command for applying a UnwindMapEntry exception handling data type at the 
address indicated by the model.
@param unwindModel the model for the data type
@param applyOptions the options for creating the new data structure and its associated
markup in the program as well as whether to follow other data references and create their 
data too.
Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/cmd/data/exceptionhandling/CreateEHUnwindMapBackgroundCmd.java