[swift-evolution] .swiftmodule format, a few short questions

Benjamin Spratling bspratling at mac.com
Sun Dec 4 03:48:45 CST 2016


Howdy,
	I would appreciate it if someone with a working knowledge of the .swiftmodule format and especially the DECLS_AND_TYPES_BLOCK block would contact me privately.
	I’m working on a module which extracts information from .swiftmodule files (the binary files, not the directories) to enable more advanced unit tests which are otherwise implausible.  I have been able to access the basic names of types and members, but I’m thus far unable to determine which members belong in which types.
	Brownie points if you can tell me how to do it without loading the hash table in the TOP_LEVEL_DECLS block.
-Ben Spratling



More information about the swift-evolution mailing list