[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.
Loading
Please sign in to comment