[lld-macho] Initialize LTO backend with diagnostic handler
Failing to do so results in `std::bad_function_call` being thrown when a pass tries to emit a diagnostic. I've copied the relevant test over from LLD-ELF's test suite. Reviewed By: #lld-macho, thevinster Differential Revision: https://reviews.llvm.org/D109274
parent
ab79ffdb
Please register or sign in to comment