Updated ldc version and homepage

This commit is contained in:
Alexey Prokhin
2011-12-03 13:38:44 +04:00
parent 1f4de64360
commit 6357c421ac
5 changed files with 9 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ Global::Global()
written = "written by Walter Bright and Tomas Lindquist Olsen";
version = "v1.067";
ldc_version = "LDC trunk";
llvm_version = "LLVM 2.9";
llvm_version = "LLVM 3.0";
global.structalign = 8;
// This should only be used as a global, so the other fields are

View File

@@ -262,4 +262,8 @@ void Mem::mark(void *pointer)
{
}
void Mem::setStackBottom(void */*stackbottom*/)
{
}
#endif // USE_BOEHM_GC

View File

@@ -103,7 +103,7 @@ Global::Global()
version = "v2.056";
#if IN_LLVM
ldc_version = "LDC trunk";
llvm_version = "LLVM 2.9";
llvm_version = "LLVM 3.0";
#endif
global.structalign = 8;

View File

@@ -85,8 +85,8 @@ static cl::list<std::string, StringsAdapter> debuglibs("debuglib",
void printVersion() {
printf("LLVM D Compiler %s\nbased on DMD %s and %s\n%s\n%s\n",
global.ldc_version, global.version, global.llvm_version, global.copyright, global.written);
printf("D Language Documentation: http://www.digitalmars.com/d/1.0/index.html\n"
"LDC Homepage: http://www.dsource.org/projects/ldc\n");
printf("D Language Documentation: http://d-programming-language.org/index.html\n"
"LDC Homepage: https://github.com/ldc-developers/ldc\n");
}
// Helper function to handle -d-debug=* and -d-version=*

View File

@@ -444,7 +444,7 @@ void DtoDwarfCompileUnit(Module* m)
global.params.symdebug == 2 ? DW_LANG_C : DW_LANG_D,
srcname,
srcpath,
"LDC (http://www.dsource.org/projects/ldc)",
"LDC (https://github.com/ldc-developers/ldc)",
false, // isOptimized TODO
llvm::StringRef(), // Flags TODO
1 // Runtime Version TODO