From 7f70559bc47877bafc6dfa92b7df6b64650445fb Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Fri, 12 Jan 2007 19:20:47 +0000 Subject: * PIC codegen for X86/Linux has been implemented * PIC-aware internal structures in X86 Codegen have been refactored * Visibility (default/weak) has been added * Docs fixes (external weak linkage, visibility, formatting) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33136 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/BytecodeFormat.html | 46 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 38 insertions(+), 8 deletions(-) (limited to 'docs/BytecodeFormat.html') diff --git a/docs/BytecodeFormat.html b/docs/BytecodeFormat.html index cc0ae7ca5f..e65ee0cba4 100644 --- a/docs/BytecodeFormat.html +++ b/docs/BytecodeFormat.html @@ -743,7 +743,6 @@ describes the latest version, 1.3):

  • #3: LLVM 1.3
  • #4: LLVM 1.3.x (not released)
  • #5: LLVM 1.4 and newer
  • -

    Note that we plan to eventually expand the target description capabilities @@ -1082,7 +1081,11 @@ and can includes more information:

    If this bit is set, a SectionID follows this vbr. - bit(10-31) + bit(10-12) + Visibility style: 0=Default, 1=Hidden. + + + bit(13-31) Currently unassigned. @@ -1337,7 +1340,7 @@ field values of the structure. -
    Undef Entries
    +
    Undef Entries

    When the number of operands to the constant is one, we have an 'undef' value @@ -1345,7 +1348,7 @@ of the specified type.

    -
    Inline Assembler Entries
    +
    Inline Assembler Entries

    Inline Assembler entries are stored in the constant pool, though they are not @@ -1369,7 +1372,7 @@ of the specified type.

    uint32_vbr - Flags + Flags @@ -1380,7 +1383,7 @@ of the specified type.

    -
    Constant Expression Entries
    +
    Constant Expression Entries
    @@ -1436,8 +1439,8 @@ size
    uint32_vbr - The linkage type of the function: 0=External, 1=Weak, -2=Appending, 3=Internal, 4=LinkOnce, 5=DllImport, 6=DllExport1 + The linkage and + visibility style field block @@ -1470,7 +1473,34 @@ other fields will be present as the function is defined elsewhere. be written. Compaction tables are only written if they will actually save bytecode space. If not, then a regular constant pool is written. + + + +
    + + + + + + + + + + + + + + + + +
    TypeField Description
    bit(0-15)The linkage type of the function: 0=External, 1=Weak, +2=Appending, 3=Internal, 4=LinkOnce, 5=DllImport, 6=DllExport1
    bit(16-31)Visibility style: 0=Default, 1=Hidden.
    + +
    +
    Compaction Table
    -- cgit v1.2.3-18-g5258