private String detectCompilerName(MachHeader machHeader) throws IOException {
		List<String> sectionNames = machHeader.parseSegments()
				.stream()
				.flatMap(seg -> seg.getSections().stream())
				.map(section -> section.getSectionName())
				.toList();
		if (SwiftUtils.isSwift(sectionNames)) {
			return SwiftUtils.SWIFT_COMPILER;
		}
		if (GoRttiMapper.hasGolangSections(sectionNames)) {
			return GoConstants.GOLANG_CSPEC_NAME;
		}
		return null;
	}
Attempts to detect a more specific compiler from the Mach-O

@param machHeader The {@link MachHeader}
@return The detected compiler name, or {@code null} if one could be detected
@throws IOException if an IO-related error occurred
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/MachoLoader.java