From: Reid Spencer Date: Sun, 31 Oct 2004 22:59:06 +0000 (+0000) Subject: Renamed UsingLibraries.html X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9113b98f6d768b002654580b8b7f8a91928db19f;p=oota-llvm.git Renamed UsingLibraries.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17380 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ObjectFiles.html b/docs/ObjectFiles.html deleted file mode 100644 index 1fb5fc84c90..00000000000 --- a/docs/ObjectFiles.html +++ /dev/null @@ -1,290 +0,0 @@ - - - - Object Files: Understanding The Result Of LLVM Compilation - - - - -
- Object Files: Understanding The Result Of LLVM Compilation -
- -
    -
  1. Abstract
  2. -
  3. Introduction
  4. -
  5. File Contents
  6. -
  7. Linkage Rules Of Thumb -
      -
    1. Always Link vmcore.o, support.a -
    2. Placeholder -
    -
  8. -
- -
-

Written by Reid Spencer

-
- - -
Abstract
-
-

This document describes the contents of the many objects files and libraries -that are produced by compiling LLVM. To make use of LLVM this information is -needed in order to understand what files should be linked into your program. -

-
- -
Introduction
-
-

If you're writing a compiler, virtual machine, or any other utility for - LLVM, you'll need to figure out which of the many .a (archive) and .o - (object) files you will need to link with to be successful. An - understanding of the contents of these files and their inter-relationships - will be useful in coming up with an optimal specification for the objects - and libraries to link with. -

-

The purpose of this document is to hopefully reduce some of the trial and - error that the author experienced in using LLVM. -

-
- -
File Contents
-
-

The table below provides a summary of the basic contents of each file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Summary Of LLVM Library And Object Files -

Library

Description

libipo.a - An archive of all interprocedural optimizations. -
libscalaropts.a - An archive of all scalar optimizations. -
libtransforms.aUncategorized transformations.
libtarget.aAn archive containing generic code generator support.
libanalysis.aAn archive containing intraprocedural analyses.
libdatastructure.aAn archive containing Data Structure Analysis.
libinstrument.aIntraprocedural instrumentation and utilities.
libsparcv9regalloc.aSparcV9 graph-coloring register allocator.
libipa.aAn archive containing interprocedural analyses
libtransformutils.aUtility functions for transformations.
libsupport.aGeneral support utilities

Object File

Description

support.oGeneral support utilities
asmparser.oAssembler Parser
bcreader.oBytecode Reader
bcwriter.oBytecode Writer
sched.oSparcV9 instruction scheduler
selectiondag.oAggressive instruction selector for Directed Acyclic Graphs
transformutils.oUtilities for code transformations
ipa.oInterprocedural Analyses
sparcv9select.oSparcV9 instruction selector
cwriter.o"C" Code Writer
profpaths.oPath profiling instrumentation
sparcv9regalloc.oSparcV9 graph-coloring register allocator
instrument.oIntraprocedural instrumentation and utilities.
datastructure.oData Structure Analysis
codegen.oNative code generation
sparcv9livevar.oSparcV9 Live Variable Analysis
vmcore.oVirtual Machine Core
lli-interpreter.oInterpreter for LLVM ByteCode
lli-jit.o - Just-In-Time Compiler For LLVM ByteCode -
executionengine.oEngine for LLI
debugger.oSource Level Debugging Support
analysis.oGeneral framework for Analysis
sparcv9.oSparcV9 backend
target.oGeneric backend support
transforms.oUncategorized transformations.
x86.oIntel x86 backend
powerpc.oPowerPC backend
scalaropts.oOptimizations For Scalars
ipo.oInterprocedural Optimizations
trace.oSupport For Tracing/Debugging?
profile_rt.oRuntime Library For Profiler
sample.oSample Program ?
stkr_compiler.oStacker Language Compiler Library
stkr_runtime.oStacker Language Runtime Library
-
-

- -
Linkage Rules Of Thumb
-
-

This section contains various "rules of thumb" about what files you - should link into your programs.

-
- -
Always Link vmcore.o support.a -
-
-

No matter what you do with LLVM, you'll always need to link with vmcore.o - and support.a.

-
- -
Placeholder
-
-

Need more rules of thumb here.

-
- -
- - - -