Skip to content

Redesign LLVM 2.0 bytecode format #1499

@lattner

Description

@lattner
Bugzilla Link 1127
Resolution FIXED
Resolved on Feb 22, 2010 12:54
Version 1.0
OS All
CC @isanbard

Extended Description

We want to scrap the current way we handle .bc files. Here are some ideas/desires for the new format:

  1. I'd like to get rid of libbzip2.
  2. I think it makes sense to use a completely variable bitwidth format, not trying to keep things at byte
    alignments.
  3. We should probably keep type planes, as they allow us to use the type constraints in llvm to make
    the encoding more dense.
  4. We should consider a packetized format like dwarf for things like the moduleinfoblock and
    functioninfoblocks, which makes it easier to extend the format without a new revision #.

Any other ideas?

-Chris

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions