xref: /freebsd/contrib/file/magic/Magdir/llvm (revision 898496ee09ed2b7d25f6807edc4515628196ec0a)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*898496eeSXin LI# $File: llvm,v 1.10 2023/03/11 17:54:17 christos Exp $
4b6cee71dSXin LI# llvm:  file(1) magic for LLVM byte-codes
548c779cdSXin LI# URL:  https://llvm.org/docs/BitCodeFormat.html
6b6cee71dSXin LI# From: Al Stone <ahs3@fc.hp.com>
7b6cee71dSXin LI
8b6cee71dSXin LI0	string	llvm	LLVM byte-codes, uncompressed
9b6cee71dSXin LI0	string	llvc0	LLVM byte-codes, null compression
10b6cee71dSXin LI0	string	llvc1	LLVM byte-codes, gzip compression
11b6cee71dSXin LI0	string	llvc2	LLVM byte-codes, bzip2 compression
12*898496eeSXin LI0	string	CPCH	LLVM Pre-compiled header file
13b6cee71dSXin LI
14b6cee71dSXin LI0	lelong	0x0b17c0de	LLVM bitcode, wrapper
15b6cee71dSXin LI# Are these Mach-O ABI values?  They appear to be.
16b6cee71dSXin LI>16	lelong	0x01000007	x86_64
17b6cee71dSXin LI>16	lelong	0x00000007	i386
18b6cee71dSXin LI>16	lelong	0x00000012	ppc
19b6cee71dSXin LI>16	lelong	0x01000012	ppc64
20b6cee71dSXin LI>16	lelong 	0x0000000c	arm
21b6cee71dSXin LI
22b6cee71dSXin LI0	string	BC\xc0\xde	LLVM IR bitcode
23