[LLVMdev] The document fault in llvm doc. And a comiling error

罗勇刚(Yonggang Luo) luoyonggang at gmail.com
Sun Jun 28 04:47:01 PDT 2009


most html document need to add
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
int <head> section of html
such as
<head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
other staff
</head>
this is the correct style.

.\llvm\docs\SourceLevelDebugging.html
Chris Lattner sabre at nondot.org
Jim Laskey jlaskey at mac.com
 Philosophy behind LLVM debugging information
while don't change the link
 http://www.eagercon.com/dwarf/dwarf3std.htm
to
 http://www.dwarfstd.org/
and i found the link in http://www.eagercon.com/dwarf/dwarf3std.htmis not
accessible.

.\llvm\docs\ExtendingLLVM.html
Written by Misha Brukman, Brad Jones, Nate Begeman, and Chris Lattner
In section
Adding a new instruction
 4.llvm/lib/AsmParser/Lexer.l: add a new token to parse your instruction
from assembly text file
5.llvm/lib/AsmParser/llvmAsmParser.y: add the grammar on how your
instruction can be read and what it will construct as a result
 Adding a new type
3.llvm/lib/AsmReader/Lexer.l: add ability to parse in the type from text
assembly
 4.llvm/lib/AsmReader/llvmAsmParser.y: add a token for that type

also, this file need to add a meta data that set charset to utf-8
 such as <meta http-equiv="content-type" content="text/html; charset=UTF-8">
and also many other files:.


.\llvm\docs\CompilerWriterInfo.html
1.Hardware
 Other x86-specific information
need change the url of
•Calling conventions for different C++ compilers and operating systems
 the new one is

3.Miscellaneous resources
http://www.agner.org/optimize/#manuals
 I think need to add
The DWARF Debugging Standard
http://www.dwarfstd.org/
 Portable Executable
http://en.wikipedia.org/wiki/Portable_Executable
 Microsoft Portable Executable and Common Object File Format Specification
http://www.microsoft.com/whdc/system/platform/firmware/PECOFFdwn.mspx
 An In-Depth Look into the Win32 Portable Executable File Format
http://msdn.microsoft.com/en-us/magazine/cc301805.aspx
 Object file converter
http://www.agner.org/optimize/#objconv
 Damn good staff
 On windows 7 platfrom
once I compiling with gcc or msvc, the tablgen can't running fine:
Assertion failed: errorcode == 0, file
d:/svn/llvm/lib/System/Win32/ThreadLocal.
inc, line 46

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
make[2]: *** [include/llvm/Intrinsics.gen.tmp] Error 3
make[1]: *** [include/llvm/CMakeFiles/intrinsics_gen.dir/all] Error 2
make: *** [all] Error 2

-- 
        此致
礼
罗勇刚
Yonggang Luo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090628/117fcea2/attachment.html>


More information about the llvm-dev mailing list