http://bugzilla.novell.com/show_bug.cgi?id=597752 http://bugzilla.novell.com/show_bug.cgi?id=597752#c0 Summary: file: llvm bitcode magic is missing Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: All OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jslaby@novell.com QAContact: qa@suse.de CC: werner@novell.com Found By: --- Blocker: --- Could you please add this to magics: 0 string BC
2 byte 0xc0
3 byte 0xde llvm bitcode
The code which is from llvm itself: // Sniff for the signature. if (Stream.Read(8) != 'B' || Stream.Read(8) != 'C' || Stream.Read(4) != 0x0 || Stream.Read(4) != 0xC || Stream.Read(4) != 0xE || Stream.Read(4) != 0xD) return Error("Invalid bitcode signature"); An example from x86 (i.e. LE): $ hexdump -C llvm_bitcode.lo | head -1 00000000 42 43 c0 de 21 0c 00 00 4f 05 00 00 01 10 00 00 |BC..!...O.......| -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.