Commit Graph

  • e033781188 Added X86-64 version. Needed significant changes. Kelly Wilson 2009-02-03 12:35:00 -07:00
  • fe5c047568 Added X86-64 versioning Kelly Wilson 2009-02-03 12:34:12 -07:00
  • d969e0b1cb Added X86-64 version Kelly Wilson 2009-02-03 12:33:42 -07:00
  • be38aa3e3a Added X86-64 versioning Kelly Wilson 2009-02-03 12:33:21 -07:00
  • 9705b7e017 Fixed problem accessing global variables from naked asm on osx. Tomas Lindquist Olsen 2009-02-03 18:42:25 +01:00
  • e7125498e2 Added support for naked asm on OSX. (hopefully!) Tomas Lindquist Olsen 2009-02-03 18:14:30 +01:00
  • aa2cd42536 Apply naked changes of [920] to dmd2/ Christian Kamm 2009-02-03 18:11:39 +01:00
  • 8726eefefa Apply StaticStructInit changes from [913] to dmd2/ Christian Kamm 2009-02-03 18:00:17 +01:00
  • dc5944df99 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 :) Tomas Lindquist Olsen 2009-02-03 08:54:57 +01:00
  • 8ab98dad49 Fixed assertion failure when object.d is missing the ModuleInfo class Tomas Lindquist Olsen 2009-02-02 02:35:44 +01:00
  • 75591b3c16 Changed templates and typeinfo to use linkonce linkage instead of weak linkage, this should fix inlining problems, fixing bug #197 . If problems show up, it's easy to change it back by changing the define in mars.h . I'm 95% sure this is safe, given how we handle templates. Tomas Lindquist Olsen 2009-02-02 01:44:51 +01:00
  • 9b85a345e9 Removed use of TARGET_LINUX and replaced with POSIX, fixes bug [172] Tomas Lindquist Olsen 2009-02-02 00:58:36 +01:00
  • e0246fb8cd Renamed Rebuild profile to match DSSS and Tango convention. Tomas Lindquist Olsen 2009-02-02 00:34:22 +01:00
  • 98974b02c0 Fix bug #199 Tomas Lindquist Olsen 2009-02-02 00:26:32 +01:00
  • e6ef3ecf15 Fixed bug #191 by rewriting DtoConstArrayInitializer, patch unfortunately caused regressions, hopefully this doesn't :P Tomas Lindquist Olsen 2009-02-01 23:30:36 +01:00
  • 01f19c466c Fix #198 and #199 by making CTFE on static struct initializers work. Renamed SymbolDeclaration to StaticStructInitDeclaration to make its usage clearer. Christian Kamm 2009-02-01 20:20:56 +01:00
  • 07649678db _d_delarray also had one of the array consistency asserts mentioned in #184 and dmd2632. Christian Kamm 2009-01-30 07:51:50 +01:00
  • d3f44831dc Fix typo in [909]. Christian Kamm 2009-01-29 17:59:25 +01:00
  • d958535969 Remove asserts on array consistancy in arraysetlength. Fixes #184, thanks Deewiant. Christian Kamm 2009-01-29 17:45:12 +01:00
  • f2ce0df11c Port some LDC1 portability fixes to LDC2. Fixes #196. Christian Kamm 2009-01-29 17:19:48 +01:00
  • c433e6fbbb Apply patch for #193. Thanks fvbommel. Christian Kamm 2009-01-29 16:56:48 +01:00
  • 9c197b777b Add testcase for #189 to mini tests. Christian Kamm 2009-01-25 12:38:29 +01:00
  • f82ca73c76 Casts from interface to class generally need to be dynamic. Fixes #189. Christian Kamm 2009-01-25 12:35:11 +01:00
  • 921a326865 Applied doob's patch to port GDC's Dyld data segment tracking for Mac. Christian Kamm 2009-01-24 00:33:06 +01:00
  • 343b80e718 Fix bug #177 by not attempting to define composite debug info for forward-declared structs. Christian Kamm 2009-01-23 13:41:03 +01:00
  • 783ec2799d Further Solaris data segment detection fixes. Thanks BlueZeniX! Christian Kamm 2009-01-23 10:13:27 +01:00
  • 287fa3446c Add -m64 switch to gcc calls on 64-bit platforms. Christian Kamm 2009-01-23 10:12:57 +01:00
  • 320c22810a Fix #174. Christian Kamm 2009-01-22 21:46:40 +01:00
  • ab9b9cc2e9 Solaris compatibility and proc map parsing #183, thanks BlueZeniX! Christian Kamm 2009-01-22 18:53:32 +01:00
  • f4f5c58a44 Add wilsonk's static data segment finding code for x86-64 from #181. Thanks! Christian Kamm 2009-01-22 18:23:30 +01:00
  • ba9eb478dd Add headers for HP's libunwind, currently unused though. Christian Kamm 2009-01-22 17:57:38 +01:00
  • bbf21853b4 Fix x86-64 exception handling #180. Thanks pcwalton! Christian Kamm 2009-01-22 17:50:38 +01:00
  • 343003cfdc Makes sure only function definitions inside templates get weak linkage, llvm doesn't allow weak linkage on just declarations, so we use external linkage for those. Fixes #162 Tomas Lindquist Olsen 2009-01-22 17:26:50 +01:00
  • 8ac2aecf42 Apply pcwalton's eh runtime portability fix. Christian Kamm 2009-01-19 19:42:00 +01:00
  • 33fe431ffe Don't use /proc/self/map for finding the static data segment on x86-64 for now. Probably breaks shared libraries. Parsing the file needs to be rewritten! Christian Kamm 2009-01-19 19:34:51 +01:00
  • 6594665d5d Remove optimizer syntax copies where they weren't proven to be necessary. Copying without calling semantic() leads to issues for more complicated expressions. Christian Kamm 2009-01-18 14:14:40 +01:00
  • 2814c2ab44 Also apply custom allocator size_t change to DMD2 frontend. Christian Kamm 2009-01-18 13:18:31 +01:00
  • 4e05607355 Change custom allocator new size argument to size_t instead of uint. See #175. Christian Kamm 2009-01-18 13:10:19 +01:00
  • 4042f90800 Apply afb's patch from #168 to use $CC instead of "gcc" for toobj and linker. Christian Kamm 2009-01-17 17:52:09 +01:00
  • 50be43051a Fix #165, thanks afb. Christian Kamm 2009-01-17 17:44:54 +01:00
  • 71a5ff83c7 Fix #164. Christian Kamm 2009-01-17 17:41:03 +01:00
  • 9081e55746 Fix #163. Christian Kamm 2009-01-17 14:53:32 +01:00
  • 4433460171 Typo fix in rebuild profile. Thanks BlueZeniX. Christian Kamm 2009-01-16 21:06:33 +01:00
  • 8841c84f49 tag 0.9 revision Christian Kamm 2009-01-12 07:55:17 +01:00
  • bf3dafde0d Automated merge with http://hg.dsource.org/projects/ldc Christian Kamm 2009-01-12 07:51:39 +01:00
  • f090cea4cb same fix appled to dmd2 frontend Tomas Lindquist Olsen 2009-01-10 14:37:48 +01:00
  • 6f3aff87df Fixed 64bit problem in mtype.c with _adReverse runtime call, fixes #161 . Tomas Lindquist Olsen 2009-01-10 14:35:48 +01:00
  • 0816e84138 Fixed bad return types in typinf.cpp Tomas Lindquist Olsen 2009-01-09 20:08:06 +01:00
  • b3884c6d15 Removed extraneous "|| __APPLE__" in dmd/man.c, 1.039 adds an __APPLE__ specific implementation, thanx Scriptor. Tomas Lindquist Olsen 2009-01-09 19:36:56 +01:00
  • 8330703b4d GC defines and linkage changes. Christian Kamm 2009-01-08 18:20:02 +01:00
  • 9d36a17148 Update to license to adjust inline asm file names and years. Christian Kamm 2009-01-08 16:49:04 +01:00
  • ba869c7014 Move adding IrSymbols to global list out of assert. Christian Kamm 2009-01-08 15:31:13 +01:00
  • dcb9628849 Merged DMD 1.039 Tomas Lindquist Olsen 2009-01-07 19:34:48 +01:00
  • 16409a3367 Merged DMD 1.038 Tomas Lindquist Olsen 2009-01-06 16:33:51 +01:00
  • 306015f7fb Get rid of ex-Tango patch. (merged into Tango) Adjust README and CMakeLists. Christian Kamm 2009-01-06 15:54:48 +01:00
  • a8b99651d9 fix unnecessary revisions.h regeneration and mars.c recompilation elrood 2009-01-05 21:11:47 +01:00
  • e7f750aee1 Apply BlueZeniX's patch for OpenSolaris compatibility. Fixes #158. Christian Kamm 2009-01-04 15:49:28 +01:00
  • 955df981f8 Apply duane's patch for align power-of-two checking in inline asm. Fixes #159 Christian Kamm 2009-01-04 15:39:34 +01:00
  • 12a21b1397 Fix #153. Factor out common code in StructLiteralExp::to(Const)Elem. Christian Kamm 2008-12-30 11:42:01 +01:00
  • 68de00f6c4 Backed out changeset 1fcba307fd28 Wasn't the right thing to do. Christian Kamm 2008-12-27 16:07:23 +01:00
  • 20b85089a7 Changed bswap intrinsic definition in compiler specific runtime to actually implement a linkable bswap. Christian Kamm 2008-12-27 15:54:24 +01:00
  • 80caaf4ea0 Rename test to accepted name. Christian Kamm 2008-12-20 09:29:36 +01:00
  • c92946a00a Automated merge with http://hg.dsource.org/projects/ldc Christian Kamm 2008-12-20 09:15:46 +01:00
  • 9d01659718 Add missing overrides for toConstExp to dmd2/expression.h. Fixes #156. Christian Kamm 2008-12-20 09:15:31 +01:00
  • 61a5a08135 Adjust error message for missing toConstExp to include 'is not a const exp'. Christian Kamm 2008-12-20 09:13:44 +01:00
  • 4c3d23ddfe modified gen/linker.cpp to only append .exe suffix on windows if not already present elrood 2008-12-18 19:24:33 +01:00
  • 512437d3e3 temporary fix for runtime buildscript to copy ldc's imports to tango elrood 2008-12-18 19:21:44 +01:00
  • 2d573974d7 Add #154 testcase. Christian Kamm 2008-12-18 08:09:01 +01:00
  • 8f62c080e2 Add more toConstElem stubs to get better error messages. Christian Kamm 2008-12-18 07:59:03 +01:00
  • 7069073f75 Applied modification of wilsonk's patch for AndAnd and OrOrExp for void rhs funcs. Christian Kamm 2008-12-17 21:24:17 +01:00
  • 0e1b27db3c Remove some dead code. Christian Kamm 2008-12-17 21:03:06 +01:00
  • cb0201960c Apply wilsonk's patch to AddrExp::toConstElem for struct literals. Christian Kamm 2008-12-17 20:40:27 +01:00
  • d3de204732 Apply phobos patch by downs. Christian Kamm 2008-12-17 18:20:45 +01:00
  • a272b01df6 Apply fix for #151. Christian Kamm 2008-12-15 21:09:33 +01:00
  • d8a7727942 added a patch to tango's stdio for ldc on win32 elrood 2008-12-14 17:53:20 +01:00
  • dff06d0f15 Add Elrood's patch to output LDC and LLVM source revs. Christian Kamm 2008-12-14 16:51:36 +01:00
  • 44c606c409 Missed line when removing env sanitizing. Christian Kamm 2008-12-14 16:39:27 +01:00
  • c12ab60283 Add druntime to hgignore. Christian Kamm 2008-12-14 16:31:03 +01:00
  • 6600ef0a86 Automated merge with http://hg.dsource.org/projects/ldc Christian Kamm 2008-12-14 16:30:20 +01:00
  • dabe5d3efd Remove unportable env-sanitizing code. If it is really needed, it needs to be rethought. Closes #131. Christian Kamm 2008-12-14 16:30:06 +01:00
  • 9f2497ef77 Runtime now compiles with D2 again. This does NOT mean it works flawlessly !!! Tomas Lindquist Olsen 2008-12-14 04:11:32 +01:00
  • b7bea99dbb Merged DMD 2.021 frontend. Removed generated files from dmd/dmd2 dirs. Tomas Lindquist Olsen 2008-12-13 16:14:37 +01:00
  • 6716aecc52 Merged DMD 1.037 frontend Tomas Lindquist Olsen 2008-12-13 13:15:31 +01:00
  • cabc236a79 Only emit finalbody if there is one. Fixes #147. Christian Kamm 2008-12-13 06:48:00 +01:00
  • 7e0c26329a Rename merged runtime to tango-base-ldc, #145. Christian Kamm 2008-12-12 17:10:23 +01:00
  • 62bb24d1bd Automated merge with http://hg.dsource.org/projects/ldc Christian Kamm 2008-12-12 08:18:30 +01:00
  • c14996f39e Removed insufficient fix for DMD bug 1161, it was causing problems with instantiating imported templates, and passing private variables as aliases. I failed to come up with a proper fix! Tomas Lindquist Olsen 2008-12-10 13:56:10 +01:00
  • 637c59a422 more moreatatime fixes Tomas Lindquist Olsen 2008-12-09 18:45:25 +01:00
  • 827113a0b2 Fixed another moreatatime (as opposed to oneatatime) issue with indexing unresolved class. Tomas Lindquist Olsen 2008-12-09 17:14:52 +01:00
  • 99396c2e7a Fixed problem with nested function inside static nested function. see mini/compile_nested2.d. fixes #143 . Tomas Lindquist Olsen 2008-12-09 14:57:01 +01:00
  • 3c400ff21c Removed error on naked, not fully complete, but I'll be doing more work on it during this Christmas, and some things do work. Fixed taking delegate of final class method. see mini/delegate3.d. Tomas Lindquist Olsen 2008-12-09 14:07:30 +01:00
  • 417aa57501 This ''should'' fix #139 , I failed to produce a testcase, but I would imagine this to be correct, and it removes '''that''' error when building Hybrid. Tomas Lindquist Olsen 2008-12-09 03:01:19 +01:00
  • a2bf0796ce Added back a bunch of static's to gen/classes.cpp, it's not superfluous, it makes the functions internal to the compilation unit, and we don't call them anywhere else. Tomas Lindquist Olsen 2008-12-09 02:07:24 +01:00
  • b6781a8eae Added proper "need 'this' to access member foo" errors instead of "variable foo not resolved" for some cases, added FIXME for the old error! Added a bit more information to the runtime's cyclic dependency detection exception. Tomas Lindquist Olsen 2008-12-09 01:56:39 +01:00
  • eeb4e67ec5 Update tango patch for newest tango. Christian Kamm 2008-12-08 17:09:13 +01:00
  • c8fdab1715 Add all base interfaces to interfaceMap, not just direct parents. Removed some superfluous 'static'. Christian Kamm 2008-12-07 16:43:20 +01:00
  • 42006b2d9c Add testcase for with(symbol) fix. Christian Kamm 2008-12-07 16:06:10 +01:00
  • b83afa9eca Fix with(symbol) statement. Christian Kamm 2008-12-07 16:02:43 +01:00
  • fe71199772 Only run unittests contained directly in the module. Christian Kamm 2008-12-07 14:12:39 +01:00
  • 0085c9409c .. and fixed the install target (hopefully) elrood 2008-12-05 22:01:50 +01:00