Mon, 01 Jun 2009 18:58:21 +0100 |
Robert Clipsham |
More tweaks.
|
Mon, 01 Jun 2009 23:17:47 +0200 |
Frits van Bommel |
Fix a type mismatch in ModuleInfo generation.
|
Sun, 17 May 2009 17:04:47 +0200 |
Tomas Lindquist Olsen |
Use RTTIBuilder to build !ModuleInfo, still needs some work.
|
Sun, 17 May 2009 14:40:09 +0200 |
Tomas Lindquist Olsen |
Added error messages when failed to open files for .bc and .ll output, instead of just trying to write to the stream, pretty similar to the #281 problem.
|
Sun, 17 May 2009 14:20:27 +0200 |
Tomas Lindquist Olsen |
Add error message when failed to open output stream for native asm output. Fixes ticket #281 .
|
Sat, 16 May 2009 18:19:52 +0200 |
Tomas Lindquist Olsen |
Added IrTypeFunction and IrTypeDelegate and eliminated IrDType. This means the Type::ir field can be removed. It's the final part needed for the move to a slightly more sane type system. Now the whole thing just needs to be cleaned up :P
|
Sun, 10 May 2009 20:22:08 +0200 |
Frits van Bommel |
Run backend without optimizations when no optimization parameters were used,
|
Mon, 04 May 2009 13:32:16 +0200 |
Frits van Bommel |
Factor out the code to find gcc, and add a command-line option to override the
|
Thu, 30 Apr 2009 11:56:03 +0200 |
Frits van Bommel |
Now the backend wants an enum value as optimization level.
|
Wed, 29 Apr 2009 10:26:28 +0200 |
Frits van Bommel |
Update codegen to (hopefully) work correctly with newer LLVM trunk, where
|
Mon, 27 Apr 2009 13:30:48 +0200 |
Tomas Lindquist Olsen |
Moved special casing of 'assert(this, "null this");' generated statements from !ThisExp into !AssertExp.
|
Sun, 26 Apr 2009 18:21:07 +0200 |
Christian Kamm |
Force 'fast' compilation when debug info is requested. LLVM trunk seems to
|
Fri, 17 Apr 2009 17:16:55 +0200 |
Tomas Lindquist Olsen |
Disabled resetting types between modules MAO (more at once). Fixes guaranteed MOA compilation segfault.
|
Fri, 17 Apr 2009 00:54:20 +0200 |
Tomas Lindquist Olsen |
!ClassInfo instances were not mutable, this is necessary for .classinfo based locking to work. !ModuleInfo generation was commented out as well.
|
Wed, 15 Apr 2009 20:06:25 +0200 |
Tomas Lindquist Olsen |
Added Doxygen file.
|
Tue, 31 Mar 2009 20:21:28 +0200 |
Tomas Lindquist Olsen |
Moved ir/irtype.* into ir/irdtype.*.
|
Sun, 29 Mar 2009 15:46:55 +0200 |
Frits van Bommel |
Allow specific optimization passes to be requested from the command line.
|
Sat, 28 Mar 2009 20:45:33 +0100 |
Christian Kamm |
Emit function bodies before generating the module info to make sure static
|
Sat, 28 Mar 2009 20:01:37 +0100 |
Christian Kamm |
Force initialize the runtime module in Module::genLLVMModule. It is required
|
Fri, 27 Mar 2009 21:50:32 +0100 |
Tomas Lindquist Olsen |
Eliminated the need for resolve, declare, const-init and define lists to drive code generation.
|
Fri, 27 Mar 2009 17:54:27 +0100 |
Tomas Lindquist Olsen |
Changed use of toObjFile to a new codegen method.
|
Thu, 26 Mar 2009 20:45:53 +0100 |
Tomas Lindquist Olsen |
* Moved ir/irsymbol.cpp/h into ir/irdsymbol.cpp/h.
|
Sun, 08 Mar 2009 11:46:55 +0100 |
Frits van Bommel |
Make error message on assembler failure more informative (hopefully)
|
Sat, 07 Mar 2009 19:38:00 +0100 |
Christian Kamm |
Add '-singleobj' command line switch that will tell LDC to link LLVM modules internally and only emit a single object file.
|
Sun, 01 Mar 2009 22:59:03 +0100 |
Frits van Bommel |
Pass -m32/-m64 on to gcc when assembling and linking
|
Sat, 28 Feb 2009 09:06:25 +0100 |
Christian Kamm |
Don't reset gTargetData after compiling a module. Fixes segfault when
|
Thu, 26 Feb 2009 14:51:02 +0100 |
Frits van Bommel |
Use LLVM OStream wrapper instead of <iostream> in the logger.
|
Thu, 26 Feb 2009 15:24:20 +0100 |
Tomas Lindquist Olsen |
Fixed const/invariant struc/class fields of the form const int i = 4; they don't add a field.
|
Thu, 26 Feb 2009 14:11:49 +0100 |
Tomas Lindquist Olsen |
- Fixed LLVM style CL args for D2.
|
Wed, 25 Feb 2009 17:34:51 +0100 |
Frits van Bommel |
Use LLVM-style command line (instead of DMD-style)
|
Thu, 12 Feb 2009 18:39:03 +0100 |
Christian Kamm |
Now that we're using LLVM 2.5, we can stop always running the
|
Sun, 08 Feb 2009 16:50:22 +0100 |
Christian Kamm |
Mostly rewrite debug info generation in terms of llvm/Analysis/DebugInfo.h.
|
Sun, 08 Feb 2009 05:26:54 +0100 |
Tomas Lindquist Olsen |
SWITCHED TO LLVM 2.5 !
|
Wed, 04 Feb 2009 02:10:23 +0100 |
Tomas Lindquist Olsen |
Removed some dead code.
|
Wed, 04 Feb 2009 00:04:09 +0100 |
Tomas Lindquist Olsen |
Replace assertion with errormessage for unsupported calling conventions. like Pascal. See dstress/run/e/extern_10_A.d
|
Tue, 03 Feb 2009 08:54:57 +0100 |
Tomas Lindquist Olsen |
Implemented proper support for naked asm using llvm module level asm. Still not 100% complete, but already 1000 times better that what we had before. Don's BignumX86 implementation from Tango (when turned into a standalone unittest) seems to fully work with no changes, and great performance :)
|
Mon, 02 Feb 2009 02:35:44 +0100 |
Tomas Lindquist Olsen |
Fixed assertion failure when object.d is missing the ModuleInfo class
|
Fri, 23 Jan 2009 10:12:57 +0100 |
Christian Kamm |
Add -m64 switch to gcc calls on 64-bit platforms.
|
Sat, 17 Jan 2009 17:52:09 +0100 |
Christian Kamm |
Apply afb's patch from #168 to use $CC instead of "gcc" for toobj and linker.
|
Sun, 14 Dec 2008 16:39:27 +0100 |
Christian Kamm |
Missed line when removing env sanitizing.
|
Sun, 14 Dec 2008 16:30:06 +0100 |
Christian Kamm |
Remove unportable env-sanitizing code. If it is really needed, it needs to be
|
Thu, 04 Dec 2008 14:36:11 +0100 |
Tomas Lindquist Olsen |
Fixed problem with moduleinfo thinking it imports itself, causing assertion failure, fixes #138
|
Mon, 01 Dec 2008 15:21:33 +0100 |
Tomas Lindquist Olsen |
Added error when gcc cannot be found.
|
Mon, 01 Dec 2008 15:18:22 +0100 |
Tomas Lindquist Olsen |
Added error when invoking gcc fails
|
Mon, 01 Dec 2008 02:10:16 +0100 |
Tomas Lindquist Olsen |
Fixed ModuleInfo generation to no longer use the ModuleInfo class' default initializer for types/defaults, it's unsafe as initializers don't necesarily match the "formal" type. There might be explicit padding.
|
Sun, 30 Nov 2008 20:41:17 +0100 |
Tomas Lindquist Olsen |
Fixed ModuleInfo patch check, failed on 64bit
|
Sat, 29 Nov 2008 21:25:43 +0100 |
Tomas Lindquist Olsen |
Removed KDevelop3 project files, CMake can generate them just fine!
|
Wed, 12 Nov 2008 05:40:31 +0100 |
Tomas Lindquist Olsen |
D2: Fixed global constants not initialized until module constructor.
|
Wed, 12 Nov 2008 07:22:05 +0100 |
Tomas Lindquist Olsen |
D2 changes!
|
Tue, 11 Nov 2008 01:38:48 +0100 |
Tomas Lindquist Olsen |
Added initial D2 support, D2 frontend and changes to codegen to make things compile.
|
Mon, 03 Nov 2008 12:35:29 +0100 |
Christian Kamm |
Fix compile-time warnings. Adjust include in d-asm-i386.
|
Tue, 28 Oct 2008 15:41:09 +0100 |
Tomas Lindquist Olsen |
Removed warnings on ignored aligns. Only do aligment on packed structs, align(1) struct Packed { ... }
|
Mon, 27 Oct 2008 17:37:34 +0100 |
Tomas Lindquist Olsen |
Attempt at getting LLVM to provide a proper target data layout. Should assert now if things are borked.
|
Mon, 27 Oct 2008 01:40:47 +0100 |
Tomas Lindquist Olsen |
Nested access to with statement should work now. fixes #105
|
Mon, 27 Oct 2008 01:11:41 +0100 |
Tomas Lindquist Olsen |
Fixed tuple fields, thanx downs
|
Thu, 23 Oct 2008 19:42:55 +0200 |
Tomas Lindquist Olsen |
Commented that codegen: <modulename> printf ...
|
Wed, 22 Oct 2008 21:50:08 +0200 |
Tomas Lindquist Olsen |
Implemented first class delegates. closes #101
|
Wed, 22 Oct 2008 14:55:33 +0200 |
Tomas Lindquist Olsen |
Removed TypeOpaque from DMD.
|
Thu, 16 Oct 2008 22:07:02 +0200 |
Christian Kamm |
Hopefully sensible command switch handling. Changed default ext to .o on Windows.
|
Wed, 15 Oct 2008 20:22:18 +0200 |
Christian Kamm |
Fixed bug with generated functions having wrong calling conventions. Thanks downs.
|
Mon, 13 Oct 2008 17:28:39 +0200 |
Tomas Lindquist Olsen |
Started changing target triple stuff, part of fixing #97
|
Mon, 13 Oct 2008 10:58:00 +0200 |
Christian Kamm |
Allow output of only bc, ll, or s by making -of set the output type depending
|
Sun, 12 Oct 2008 15:33:14 +0200 |
Christian Kamm |
Always run SimplifyCFG to workaround LLVM bug 2613.
|
Sun, 12 Oct 2008 14:38:55 +0200 |
Christian Kamm |
Emit stub debug info for generated functions to work around LLVM bug 2172.
|
Sun, 12 Oct 2008 10:35:16 +0200 |
Christian Kamm |
Only allocate the module file name once. Fixes #90.
|
Sat, 11 Oct 2008 21:21:21 +0200 |
Christian Kamm |
Link using gcc instead.
|
Sat, 11 Oct 2008 20:00:36 +0200 |
Christian Kamm |
Make ldc call gcc to assemble.
|
Sat, 11 Oct 2008 13:07:59 +0200 |
Christian Kamm |
Disable bc output by default. Remove -dis. Add -output-bc, -output-ll, -output-s.
|
Sat, 11 Oct 2008 11:41:56 +0200 |
Christian Kamm |
Move to separate function and cleanup.
|
Sat, 11 Oct 2008 11:07:53 +0200 |
Christian Kamm |
Add basics for direct assembly output.
|
Mon, 06 Oct 2008 22:46:55 +0200 |
Christian Kamm |
First part of rename to LDC.
|
Sun, 05 Oct 2008 17:28:15 +0200 |
Tomas Lindquist Olsen |
Added test case for bug #100
|
Wed, 01 Oct 2008 19:16:10 +0200 |
Christian Kamm |
Fix import visibility bugs 313 and 314.
|
Wed, 01 Oct 2008 18:32:31 +0200 |
Tomas Lindquist Olsen |
Wrapped all the most potentially expensive logging calls in a conditional to only do work when actually requested.
|
Tue, 16 Sep 2008 16:06:39 +0200 |
Tomas Lindquist Olsen |
Removed useless assert in ArrayLiteralExp::toConstElem
|
Sun, 07 Sep 2008 17:44:25 -0700 |
Tomas Lindquist Olsen |
Fixed choosing default target machine without needing to link in targets.
|
Sat, 06 Sep 2008 12:27:27 +0200 |
Christian Kamm |
Restructure path handling a bit. Fixes #66.
|
Sun, 31 Aug 2008 18:38:16 +0200 |
Tomas Lindquist Olsen |
Fixed toobj.cpp to compile with latest LLVM, seems a method overload was removed recently.
|
Fri, 15 Aug 2008 05:08:33 +0200 |
Tomas Lindquist Olsen |
Fixed problem when instantiating a template with private global variables.
|
Tue, 12 Aug 2008 19:50:41 +0200 |
Christian Kamm |
Revert accidental change to toobj.cpp.
|
Tue, 12 Aug 2008 19:48:42 +0200 |
Christian Kamm |
Get rid of 'static function cannot access nested' error. It is caught again later.
|
Sun, 10 Aug 2008 21:09:23 +0200 |
Christian Kamm |
Make llvmdc work with llvm 2.4svn revision 54614. Breaks compatibility with llvm 2.3.
|
Sun, 10 Aug 2008 08:37:38 +0200 |
Tomas Lindquist Olsen |
Added pragma(llvmdc, "string") for misc per-module compiler configuration, currently "string" can only be "verbose" which forces -vv for module it appears in.
|
Sat, 26 Jul 2008 15:02:57 +0200 |
Tomas Lindquist Olsen |
Added bitcode filename to very verbose logging.
|
Mon, 14 Jul 2008 21:49:54 +0200 |
lindquist |
[svn r384] Some minor code cleanups.
trunk
|
Sat, 12 Jul 2008 19:38:31 +0200 |
lindquist |
[svn r357] Merged DMD 1.033
trunk
|
Thu, 10 Jul 2008 00:13:09 +0200 |
lindquist |
[svn r345] Fixed the new moduleinfo stuff to have consistent symbol names with the D style.
trunk
|
Wed, 09 Jul 2008 23:43:51 +0200 |
lindquist |
[svn r344] Fixed some very minor issues with the usage listing when calling llvmdc with no arguments.
trunk
|
Fri, 04 Jul 2008 08:51:49 +0200 |
ChristianK |
[svn r337] Reverted changes to toobj.cpp: Module constructor calls can never be invokes.
trunk
|
Thu, 03 Jul 2008 22:05:45 +0200 |
ChristianK |
[svn r336] Made sure calls within a landing pad area are invokes.
trunk
|
Thu, 19 Jun 2008 17:30:32 +0200 |
lindquist |
[svn r296] Removed: the 'suite' dir, it never took off!
trunk
|
Wed, 11 Jun 2008 21:03:55 +0200 |
lindquist |
[svn r268] Fixed: global debug info was still brokem ... should be done now!!!
trunk
|
Wed, 11 Jun 2008 20:53:26 +0200 |
lindquist |
[svn r267] Fixed debug info for global variables.
trunk
|
Tue, 10 Jun 2008 20:01:04 +0200 |
ChristianK |
[svn r265] generate debug info for global variables only if they don't have external linkage
trunk
|
Mon, 09 Jun 2008 17:49:30 +0200 |
lindquist |
[svn r264] Fixed debug info for global variables.
trunk
|
Mon, 09 Jun 2008 09:37:08 +0200 |
lindquist |
[svn r261] Fixed debug info for integer and floating local variables, can now be inspected in GDB.
trunk
|
Sun, 08 Jun 2008 08:03:19 +0200 |
lindquist |
[svn r250] Fixed the warning about dropping arguments to _Dmain when optimizing.
trunk
|
Thu, 05 Jun 2008 06:38:36 +0200 |
lindquist |
[svn r233] Added: -oq command line option for writing fully qualified object names.
trunk
|
Fri, 30 May 2008 19:32:04 +0200 |
lindquist |
[svn r229] Updated the object.d implementation to the latest Tango.
trunk
|
Tue, 13 May 2008 17:58:11 +0200 |
lindquist |
[svn r221] Update: Switched to the 2.3 LLVM svn branch, http://llvm.org/svn/llvm-project/llvm/branches/release_23 .
trunk
|
Wed, 07 May 2008 22:01:59 +0200 |
lindquist |
[svn r200] Fixed: removed use of std.intrinsic.
trunk
|
Tue, 06 May 2008 07:56:03 +0200 |
ChristianK |
[svn r189] moving IR data back into DMD frontend nodes
trunk
|
Mon, 05 May 2008 07:36:29 +0200 |
lindquist |
[svn r179] lots and lots of fixes, much more of tango now compiles/works.
trunk
|
Thu, 01 May 2008 13:32:08 +0200 |
ChristianK |
[svn r173] moved IR state previously stored in Type into IrType and a Type->IrType map; fixes #7
trunk
|
Thu, 01 May 2008 13:05:53 +0200 |
ChristianK |
[svn r172] moving all IR state previously stored in Dsymbol into IrDsymbol and a Dsymbol->IrDsymbol map
trunk
|
Tue, 29 Apr 2008 21:33:50 +0200 |
ChristianK |
[svn r171] starting to move IR data from AST nodes into IRState; started with IrFunction
trunk
|
Mon, 24 Mar 2008 19:43:02 +0100 |
lindquist |
[svn r155] Fixed a bunch of linkage problems (especially with templates)
trunk
|
Tue, 22 Jan 2008 00:01:16 +0100 |
lindquist |
[svn r143] Fixed: a few bugs in debug information, still only line info, but should be correct files now :)
trunk
|
Fri, 18 Jan 2008 16:42:16 +0100 |
lindquist |
[svn r141] fixed more problems with classinfo
trunk
|
Thu, 17 Jan 2008 03:15:12 +0100 |
lindquist |
[svn r140] did a lot of the work towards being able to pass multiple modules on the command line. not complete yet though
trunk
|
Mon, 14 Jan 2008 05:11:54 +0100 |
lindquist |
[svn r137] Many fixes towards tango.io.Console working, but not quite there yet...
trunk
|
Fri, 11 Jan 2008 17:57:40 +0100 |
lindquist |
[svn r136] MAJOR UNSTABLE UPDATE!!!
trunk
|
Fri, 04 Jan 2008 01:38:42 +0100 |
lindquist |
[svn r135] * Merged DMD 1.025 *
trunk
|
Fri, 28 Dec 2007 22:55:24 +0100 |
lindquist |
[svn r133] Fixed some problems with inlining not happening :P
trunk
|
Wed, 28 Nov 2007 04:52:35 +0100 |
lindquist |
[svn r129] Started AA literals.
trunk
|
Tue, 27 Nov 2007 03:09:36 +0100 |
lindquist |
[svn r125] Renamed/moved a few backend member inside DMD structures for consistency.
trunk
|
Mon, 26 Nov 2007 04:49:23 +0100 |
lindquist |
[svn r121] Finished ModuleInfo implementation.
trunk
|
Sun, 25 Nov 2007 18:55:52 +0100 |
lindquist |
[svn r120] ModuleInfo implementation is now almost complete.
trunk
|
Sun, 25 Nov 2007 03:58:55 +0100 |
lindquist |
[svn r119] Added the monitor data field that comes after the vtable pointer to all classes. Represented as a void* initialized to zero.
trunk
|
Sat, 24 Nov 2007 06:33:00 +0100 |
lindquist |
[svn r117] Initial working implementation of interfaces.
trunk
|
Mon, 19 Nov 2007 06:01:48 +0100 |
lindquist |
[svn r110] Fixed typeinfo for classes.
trunk
|
Sun, 18 Nov 2007 08:25:07 +0100 |
lindquist |
[svn r107] Getting .classinfo on a class instance now works (classinfo is stored in vtable)
trunk
|
Sun, 18 Nov 2007 06:52:57 +0100 |
lindquist |
[svn r106] Turns out the last commit wasn't enough, now the D->LLVM process is even more split up.
trunk
|
Fri, 16 Nov 2007 08:21:47 +0100 |
lindquist |
[svn r104] TONS OF FIXES.
trunk
|
Wed, 14 Nov 2007 23:39:10 +0100 |
lindquist |
[svn r102] Further delayed emission of function bodies to avoid problems with circular-forward-references.
trunk
|
Mon, 12 Nov 2007 07:58:44 +0100 |
lindquist |
[svn r100] Moved test/ray.d to demos/ray.d.
trunk
|
Mon, 12 Nov 2007 06:32:46 +0100 |
lindquist |
[svn r98] Added support for std.c.stdlib.alloca via pragma(LLVM_internal, "alloca").
trunk
|
Wed, 07 Nov 2007 02:45:47 +0100 |
lindquist |
[svn r93] a few fixes, some phobos additions.
trunk
|
Tue, 06 Nov 2007 10:03:14 +0100 |
lindquist |
[svn r92] Fixed support for statically initialized unions. lots of bugfixes as cleanups too.
trunk
|
Sat, 03 Nov 2007 14:44:58 +0100 |
lindquist |
[svn r90] Major updates to the gen directory. Redesigned the 'elem' struct. Much more... !!!
trunk
base
gen/toobj.c@acd22026c33e
|