Commit Graph

3 Commits

Author SHA1 Message Date
Arnold Schwaighofer
6eca97add6 Codesign test/Interpreter 2018-08-10 06:58:40 -07:00
Jordan Rose
ee760d8c56 [test] Fix the install_name for class_getImageName.swift tests (#17946)
Important when %target-run is not going to run the executable from its
current location.

rdar://problem/42184572
2018-07-13 19:14:56 -07:00
Jordan Rose
3ed3774e07 Override ObjC's class_getImageName to handle Swift classes
This not only restores the correct behavior for classes with generic
ancestry, but also handles actual generic classes as well. (This is
the function that backs Foundation's Bundle.init(for: AnyClass)
initializer.)

https://bugs.swift.org/browse/SR-1917
rdar://problem/33450609&40367300
2018-07-12 15:48:58 -07:00