1ef01931fSBen Gras 2ef01931fSBen Gras#------------------------------------------------------------------------------ 3*84d9c625SLionel Sambuc# $File: llvm,v 1.8 2013/01/12 03:09:51 christos Exp $ 4ef01931fSBen Gras# llvm: file(1) magic for LLVM byte-codes 5835f6802SDirk Vogt# URL: http://llvm.org/docs/BitCodeFormat.html 6ef01931fSBen Gras# From: Al Stone <ahs3@fc.hp.com> 7ef01931fSBen Gras 8ef01931fSBen Gras0 string llvm LLVM byte-codes, uncompressed 9ef01931fSBen Gras0 string llvc0 LLVM byte-codes, null compression 10ef01931fSBen Gras0 string llvc1 LLVM byte-codes, gzip compression 11ef01931fSBen Gras0 string llvc2 LLVM byte-codes, bzip2 compression 12*84d9c625SLionel Sambuc 13*84d9c625SLionel Sambuc0 lelong 0x0b17c0de LLVM bitcode, wrapper 14*84d9c625SLionel Sambuc# Are these Mach-O ABI values? They appear to be. 15*84d9c625SLionel Sambuc>16 lelong 0x01000007 x86_64 16*84d9c625SLionel Sambuc>16 lelong 0x00000007 i386 17*84d9c625SLionel Sambuc>16 lelong 0x00000012 ppc 18*84d9c625SLionel Sambuc>16 lelong 0x01000012 ppc64 19*84d9c625SLionel Sambuc>16 lelong 0x0000000c arm 20*84d9c625SLionel Sambuc 21*84d9c625SLionel Sambuc0 string BC\xc0\xde LLVM IR bitcode 22