summaryrefslogtreecommitdiffstats
path: root/magic/Magdir/llvm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:00:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:00:10 +0000
commit1ebbd027274333758fc3517685d81847601db676 (patch)
tree5259d053d3e3066e0745150805fa4b20184eef98 /magic/Magdir/llvm
parentInitial commit. (diff)
downloadfile-upstream.tar.xz
file-upstream.zip
Adding upstream version 1:5.45.upstream/1%5.45upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'magic/Magdir/llvm')
-rw-r--r--magic/Magdir/llvm22
1 files changed, 22 insertions, 0 deletions
diff --git a/magic/Magdir/llvm b/magic/Magdir/llvm
new file mode 100644
index 0000000..6befe7a
--- /dev/null
+++ b/magic/Magdir/llvm
@@ -0,0 +1,22 @@
+
+#------------------------------------------------------------------------------
+# $File: llvm,v 1.10 2023/03/11 17:54:17 christos Exp $
+# llvm: file(1) magic for LLVM byte-codes
+# URL: https://llvm.org/docs/BitCodeFormat.html
+# From: Al Stone <ahs3@fc.hp.com>
+
+0 string llvm LLVM byte-codes, uncompressed
+0 string llvc0 LLVM byte-codes, null compression
+0 string llvc1 LLVM byte-codes, gzip compression
+0 string llvc2 LLVM byte-codes, bzip2 compression
+0 string CPCH LLVM Pre-compiled header file
+
+0 lelong 0x0b17c0de LLVM bitcode, wrapper
+# Are these Mach-O ABI values? They appear to be.
+>16 lelong 0x01000007 x86_64
+>16 lelong 0x00000007 i386
+>16 lelong 0x00000012 ppc
+>16 lelong 0x01000012 ppc64
+>16 lelong 0x0000000c arm
+
+0 string BC\xc0\xde LLVM IR bitcode