OffloadBinary::create() now returns `Expected<SmallVector<unique_ptr<OffloadBinary>>>` instead of a single unique_ptr, to support multiple entries in version 2 format. Updated DeviceImageTy constructor to extract the first binary from the returned vector, with empty check. In this context, only one image per OffloadBinary is expected.
1.8 KiB
1.8 KiB