xref: /dflybsd-src/contrib/file/magic/Magdir/llvm (revision 6fca56fb90a257291c53bba3b861b751027c3e3d)
179343712SPeter Avalos
279343712SPeter Avalos#------------------------------------------------------------------------------
36fca56fbSSascha Wildner# $File: llvm,v 1.9 2019/04/19 00:42:27 christos Exp $
479343712SPeter Avalos# llvm:  file(1) magic for LLVM byte-codes
56fca56fbSSascha Wildner# URL:  https://llvm.org/docs/BitCodeFormat.html
679343712SPeter Avalos# From: Al Stone <ahs3@fc.hp.com>
779343712SPeter Avalos
879343712SPeter Avalos0	string	llvm	LLVM byte-codes, uncompressed
979343712SPeter Avalos0	string	llvc0	LLVM byte-codes, null compression
1079343712SPeter Avalos0	string	llvc1	LLVM byte-codes, gzip compression
1179343712SPeter Avalos0	string	llvc2	LLVM byte-codes, bzip2 compression
12*e8af9738SPeter Avalos
13*e8af9738SPeter Avalos0	lelong	0x0b17c0de	LLVM bitcode, wrapper
14*e8af9738SPeter Avalos# Are these Mach-O ABI values?  They appear to be.
15*e8af9738SPeter Avalos>16	lelong	0x01000007	x86_64
16*e8af9738SPeter Avalos>16	lelong	0x00000007	i386
17*e8af9738SPeter Avalos>16	lelong	0x00000012	ppc
18*e8af9738SPeter Avalos>16	lelong	0x01000012	ppc64
19*e8af9738SPeter Avalos>16	lelong 	0x0000000c	arm
20*e8af9738SPeter Avalos
21*e8af9738SPeter Avalos0	string	BC\xc0\xde	LLVM IR bitcode
22