[OffloadPackager] Use appropriate kind for LTO bitcode
Summary: Currently we just check the extension to set the image kind. This incorrectly labels the `.o` files created during LTO as object files. This patch simply adds a check for the bitcode magic bytes instead.
parent
a4e2c1f7
Please register or sign in to comment