Swift: How to get the inheritance information from compiled files

the dwarfdump information for a swift .o file does not have the TAG_inheritance, so where is the inheritance information stored for swift files?


for something like this


Classes.swift file:


class aaaa {

}

class bbbb: aaaa {

}

class cccc: bbbb {

}


I'm trying to get information like below but not from the swift source files. Trying to use nm and dwarfdump or otool etc to get to the information as do not want to parse the swift code files which is harder to do for large projects

bbbb inherits aaaa

cccc inherits bbbb inherits aaaa

Swift: How to get the inheritance information from compiled files
 
 
Q