private void demangle(Address address, String name, Program program) {
		StringBuilder builder = new StringBuilder();
		try {
			List<DemangledObject> demangledObjects = DemanglerUtil.demangle(program, name, address);
			for (DemangledObject demangledObj : demangledObjects) {
				if (builder.length() > 0) {
					builder.append("\t");
				}
				builder.append(demangledObj.getSignature(true));
			}
		}
		catch (Exception e) {
			//log.appendMsg("Unable to demangle: "+name);
		}
		if (builder.length() > 0) {
			setComment(CommentType.PLATE, address, builder.toString());
		}
	}
Loader option to display line numbers
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/AbstractPeDebugLoader.java