xref: /freebsd/contrib/file/magic/Magdir/llvm (revision 6e5dcc6113da649a79e5bc2c3ea9329bcd1d85d5)
1
2#------------------------------------------------------------------------------
3# $File: llvm,v 1.10 2023/03/11 17:54:17 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
120	string	CPCH	LLVM Pre-compiled header file
13
140	lelong	0x0b17c0de	LLVM bitcode, wrapper
15# Are these Mach-O ABI values?  They appear to be.
16>16	lelong	0x01000007	x86_64
17>16	lelong	0x00000007	i386
18>16	lelong	0x00000012	ppc
19>16	lelong	0x01000012	ppc64
20>16	lelong 	0x0000000c	arm
21
220	string	BC\xc0\xde	LLVM IR bitcode
23