xref: /freebsd/contrib/file/magic/Magdir/llvm (revision 924226fba12cc9a228c73b956e1b7fa24c60b055)
1
2#------------------------------------------------------------------------------
3# $File: llvm,v 1.9 2019/04/19 00:42:27 christos Exp $
4# llvm:  file(1) magic for LLVM byte-codes
5# URL:  https://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