Mailinglist Archive: opensuse-bugs (4760 mails)

< Previous Next >
[Bug 597752] file: llvm bitcode magic is missing
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 19 Apr 2010 14:01:06 +0000
  • Message-id: <20100419140106.86901CC7CE@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=597752

http://bugzilla.novell.com/show_bug.cgi?id=597752#c2


Jiri Slaby <jslaby@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|jslaby@xxxxxxxxxx |

--- Comment #2 from Jiri Slaby <jslaby@xxxxxxxxxx> 2010-04-19 14:01:05 UTC ---
(In reply to comment #1)
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

I'd like to know what the difference and why this new code was
not added to this file?

These are for prehistorical 1.x versions. The "BC" one is for 2.x. Anyway, I
found a doc page [1] saying:
=====
The first two bytes of a bitcode file are 'BC' (0x42, 0x43). The second two
bytes are an application-specific magic number. Generic bitcode tools can look
at only the first two bytes to verify the file is bitcode, while
application-specific programs will want to look at all four.
=====

So we should add '0 string BC llvm 2.x bitcode' instead of the entries in the
comment #0.

[1] http://llvm.org/docs/BitCodeFormat.html

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References