llvm-jit-objc icon indicating copy to clipboard operation
llvm-jit-objc copied to clipboard

Loading CustomXCTestRunner framework two times is not possible

Open stanislaw opened this issue 6 years ago • 0 comments

Loading the CustomXCTestRunner framework two times, each from a different test, results in llvm-jit-objc getting confused about where or not CustomXC* classes have to be registered manually or not:

JIT Error: Objective-C class is already registered: CustomXCTestObserver
registerOneClass: CustomXCTestObserver 
	source ptr: 0x000000010d43ba18
0x000000010D43BA18

The implementation must understand that some classes are registered by dyld so they must be skipped from loading by llvm-jit-objc.

stanislaw avatar Sep 29 '19 20:09 stanislaw