xref: /freebsd/contrib/file/magic/Magdir/llvm (revision 246e7a2b6494cd991b08ac669ed761ecea0cc98c)
1
2#------------------------------------------------------------------------------
3# $File: llvm,v 1.8 2013/01/12 03:09:51 christos Exp $
4# llvm:  file(1) magic for LLVM byte-codes
5# URL:  http://llvm.org/docs/BitCodeFormat.html
6# From: Al Stone <ahs3@fc.hp.com>
7
80	string	llvm	LLVM byte-codes, uncompressed
90	string	llvc0	LLVM byte-codes, null compression
100	string	llvc1	LLVM byte-codes, gzip compression
110	string	llvc2	LLVM byte-codes, bzip2 compression
12
130	lelong	0x0b17c0de	LLVM bitcode, wrapper
14# Are these Mach-O ABI values?  They appear to be.
15>16	lelong	0x01000007	x86_64
16>16	lelong	0x00000007	i386
17>16	lelong	0x00000012	ppc
18>16	lelong	0x01000012	ppc64
19>16	lelong 	0x0000000c	arm
20
210	string	BC\xc0\xde	LLVM IR bitcode
22