Mercurial > projects > ldc
diff dmd/mars.c @ 31:2841234d2aea trunk
[svn r35] * Attributes on struct fields/methods now work
* Updated object.d to 1.021
* Added -novalidate command line option. this is sometimes useful when debugging as it may let you read the .ll even if it's invalid.
author | lindquist |
---|---|
date | Thu, 04 Oct 2007 16:44:07 +0200 |
parents | 788401029ecf |
children | 3cfcb944304e |
line wrap: on
line diff
--- a/dmd/mars.c Thu Oct 04 14:15:54 2007 +0200 +++ b/dmd/mars.c Thu Oct 04 16:44:07 2007 +0200 @@ -188,6 +188,7 @@ x86 x86-64 ppc32 ppc64\n\ -nofloat do not emit reference to floating point\n\ -noruntime do not allow code that generates implicit runtime calls\n\ + -novalidate do not run the validation pass before writing bitcode\n\ -O optimize, same as -O2\n\ -On optimize at level n (0-5)\n\ -o- do not write object file\n\ @@ -279,6 +280,7 @@ global.params.llvmArch = 0; global.params.forceBE = 0; global.params.noruntime = 0; + global.params.novalidate = 0; global.params.optimizeLevel = 2; global.params.runtimeImppath = 0; @@ -370,6 +372,8 @@ global.params.forceBE = 1; else if (strcmp(p + 1, "noruntime") == 0) global.params.noruntime = 1; + else if (strcmp(p + 1, "novalidate") == 0) + global.params.novalidate = 1; else if (p[1] == 'o') { switch (p[2])