llvm.org GIT mirror llvm / 4d6deb0
docs/*.html: Make W3C HTML 4.01 Strict more compliant. FIXME: The logo handling in ReleaseNotes.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129208 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 8 years ago
15 changed file(s) with 38 addition(s) and 36 deletion(s). Raw diff Collapse all Expand all
566566 however there's no way for a pass to declare in its
567567 getAnalysisUsage that it does so. Some passes attempt to use
568568 AU.addPreserved<AliasAnalysis>, however this doesn't
569 actually have any effect.tt>
569 actually have any effect.p>
570570
571571

AliasAnalysisCounter (-count-aa) and AliasDebugger

572572 (-debug-aa) are implemented as ModulePass classes, so if your
979979 MODULE_CODE_GCNAME entries.
980980
981981
  • unnamed_addr: If present and non-zero, indicates that the function
  • 982 has unnamed_addr<tt>
    982 has unnamed_addr</tt>
    983983
    984984
    985985
    341341
    LLVM_LIT_TOOLS_DIR:STRING
    342342
    The path to GnuWin32 tools for tests. Valid on Windows host.
    343343 Defaults to "", then Lit seeks tools according to %PATH%.
    344 Lit can find tools(eg. grep, sort, &c) on LLVM_LIT_TOOLS_DIR at first,
    344 Lit can find tools(eg. grep, sort, &amp;c) on LLVM_LIT_TOOLS_DIR at first,
    345345 without specifying GnuWin32 to %PATH%.
    346346
    347347
    LLVM_ENABLE_FFI:BOOL
    150150 support a broad class of garbage collected languages including Scheme, ML, Java,
    151151 C#, Perl, Python, Lua, Ruby, other scripting languages, and more.

    152152
    153

    However, LLVM does not itself provide a garbage collector&#151;this should

    153

    However, LLVM does not itself provide a garbage collector&mdash;this should

    154154 be part of your language's runtime library. LLVM provides a framework for
    155155 compile time code generation plugins. The role of these
    156156 plugins is to generate code and data structures which conforms to the binary
    157157 interface specified by the runtime library. This is similar to the
    158158 relationship between LLVM and DWARF debugging info, for example. The
    159159 difference primarily lies in the lack of an established standard in the domain
    160 of garbage collection&#151;thus the plugins.

    160 of garbage collection&mdash;thus the plugins.

    161161
    162162

    The aspects of the binary interface with which LLVM's GC support is

    163163 concerned are:

    115115
  • Read the documentation.
  • 116116
  • Remember that you were warned twice about reading the documentation.
  • 117117
  • Install the llvm-gcc-4.2 front end if you intend to compile C or C++
  • 118 (see Install the GCC Front End for details):
    118 (see Install the GCC Front End for details):
    119119
    120120
  • cd where-you-want-the-C-front-end-to-live
  • 121121
  • gunzip --stdout llvm-gcc-4.2-version-platform.tar.gz | tar -xvf -
  • 343343 ActivePerl, as these have Windows-specifics that will cause the
    344344 build to fail.
    345345
  • To use LLVM modules on Win32-based system,
  • 346 you may configure LLVM with "--enable-shared".li>
    346 you may configure LLVM with "--enable-shared".a>li>
    347347
  • To compile SPU backend, you need to add
  • 348 "LDFLAGS=-Wl,--stack,16777216" to configure.li>
    348 "LDFLAGS=-Wl,--stack,16777216" to configure.a>li>
    349349
    350350
    351351
    800800 sync automatically with each Subversion commit and contain all necessary
    801801 git-svn marks (so, you can recreate git-svn metadata locally). Note that right
    802802 now mirrors reflect only trunk for each project. You can do the
    803 read-only GIT clone of LLVM via:
    803 read-only GIT clone of LLVM via:

    804
    804805
    
                      
                    
    805806 % git clone http://llvm.org/git/llvm.git
    806807
    807

    808808
    809809
    810810
    12371237
    12381238

    12391239 This allows you to execute LLVM bitcode files directly. On Debian, you
    1240 can also use this command instead of the 'echo' command above:

    1240 can also use this command instead of the 'echo' command above:
    12411241

    12421242
    12431243
    212212

    Note that quite a few of these test will fail.

    213213
    214214
    215
  • A specific test or test directory can be run with:
  • 215
  • A specific test or test directory can be run with:
  • 216216
    217217
    218218
    
                      
                    
    219219 % llvm-lit test/path/to/test
    220220
    221221
    222
    222
    223
    223224
    224225
    225226
    22
    33
    44
    5
    65
    76 LLVM 2.9 Release Notes
    87
    118117 compatibility guide to make sure this is not intentional or a known issue.
    119118

    120119
    121
    122
    123120
    124121
    125122
    803803
    804804
    805805

    This intrinsic provides information about a local element (ex. variable.) The

    806 first argument is metadata holding alloca for the variable.. The
    806 first argument is metadata holding alloca for the variable. The
    807807 second argument is metadata containing description of the variable.

    808808
    809809
    294294
    295295 tests
    296296
    297
    297298
    298299

    To run debugging information tests simply checkout the tests inside

    299300 clang/test directory.

    2525

    Warning: This document is out of date, for more

    2626 information please
    2727 see llvm-config or,
    28 if you use CMake, CMake.html#embedding>the CMake LLVM
    28 if you use CMake, "CMake.html#embedding">the CMake LLVM
    2929 guide.

    3030
    3131
    190190

    This graph shows the dependency of archive libraries on other archive

    191191 libraries or objects. Where a library has both archive and object forms, only
    192192 the archive form is shown.

    193 Library Dependencies/>
    193 Library Dependencies>
    194194

    Dependency Relationships Of Object Files

    195195

    This graph shows the dependency of object files on archive libraries or

    196196 other objects. Where a library has both object and archive forms, only the
    197197 dependency to the archive form is shown.

    198 Object File Dependencies/>
    198 Object File Dependencies>
    199199

    The following list shows the dependency relationships between libraries in

    200200 textual form. The information is the same as shown on the graphs but arranged
    201201 alphabetically.

    279279
  • libLLVMSystem.a
  • 280280
  • libLLVMbzip2.a
  • 281281
    282
    libLLVMSystem.a
    283 </ul>dd>
    282 <dt>libLLVMSystem.a<dd>
    283
    284284
    libLLVMTarget.a
    285285
  • libLLVMCore.a
  • 286286
  • libLLVMSupport.a
  • 294294
  • libLLVMTarget.a
  • 295295
  • libLLVMipa.a
  • 296296
    297
    libLLVMbzip2.a
    298 </ul>dd>
    297 <dt>libLLVMbzip2.a<dd>
    298
    299299
    libLLVMipa.a
    300300
  • libLLVMAnalysis.a
  • 301301
  • libLLVMCore.a
  • 429429
    430430
    431431
    432 src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS"/>
    432 src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS">
    433433
    434434 src="http://www.w3.org/Icons/valid-html401-blue" alt="Valid HTML 4.01">
    435435 Reid Spencer
    184184 lib/Transforms/Hello. Finally, you must set up a build script
    185185 (Makefile) that will compile the source code for the new pass. To do this,
    186186 copy the following into Makefile:

    187 />
    187 >
    188188
    189189
    
                      
                    
    190190 # Makefile for hello pass
    300300 initialization value is not important.

    301301
    302302
    
                      
                    
    303 static RegisterPass X("hello", "Hello World Pass",
    303 static RegisterPass<Hello> X("hello", "Hello World Pass",
    304304 false /* Only looks at CFG */,
    305305 false /* Analysis Pass */);
    306306 } // end of anonymous namespace
    336336 };
    337337
    338338 char Hello::ID = 0;
    339 static RegisterPass X("hello", "Hello World Pass", false, false);
    339 static RegisterPass<Hello> X("hello", "Hello World Pass", false, false);
    340340 }
    341341
    342342
    10771077
    10781078 // Create the JIT. This takes ownership of the module.
    10791079 std::string ErrStr;
    1080 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
    1080 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
    10811081 if (!TheExecutionEngine) {
    10821082 fprintf(stderr, "Could not create ExecutionEngine: %s\n", ErrStr.c_str());
    10831083 exit(1);
    17201720
    17211721 // Create the JIT. This takes ownership of the module.
    17221722 std::string ErrStr;
    1723 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
    1723 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&amp;ErrStr).create();
    17241724 if (!TheExecutionEngine) {
    17251725 fprintf(stderr, "Could not create ExecutionEngine: %s\n", ErrStr.c_str());
    17261726 exit(1);
    17571757
    17581758 // Create the JIT. This takes ownership of the module.
    17591759 std::string ErrStr;
    1760 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create();
    1760 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&amp;ErrStr).create();
    17611761 if (!TheExecutionEngine) {
    17621762 fprintf(stderr, "Could not create ExecutionEngine: %s\n", ErrStr.c_str());
    17631763 exit(1);