Open Quuxplusone opened 3 years ago
More crash log:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x4] Symbol missing
Application Specific Information:
Symbol not found: _OBJC_CLASS_$_XCTestObservationCenter
Referenced from: /<xxxxxx removed xxxxx>
Expected in: unknown
Dyld Error Message:
Symbol not found: _OBJC_CLASS_$_XCTestObservationCenter
Referenced from: /<xxxxx removed xxxxx>
Expected in: unknown
---------------------
comparing the LD64-produced binary vs LLD-produced binary:
llvm-objdump-11 --macho --bind <xxxx>-LD64 | grep
'_OBJC_CLASS_$_XCTestObservationCenter'
__DATA __objc_classrefs 0x10364D448 pointer 0 XCTest
_OBJC_CLASS_$_XCTestObservationCenter (weak_import)
llvm-objdump-11 --macho --bind <xxxx>-LLD | grep
'_OBJC_CLASS_$_XCTestObservationCenter'
__DATA __objc_classrefs 0x10364D448 pointer 0 XCTest
_OBJC_CLASS_$_XCTestObservationCenter
(note that the "missing" symbol isn't weak-import in the LLD-binary)
Part of crash log:
`` Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: DYLD, [0x4] Symbol missing