Alexey Prokhin
fb5618e336
Fixed #65 — Renaming shared lib
2012-02-15 13:23:23 +04:00
kai
11786aeb35
Remove last traces of _DH.
...
With the merge of 1.072 the definition of _DH is no longer needed.
2012-02-04 20:36:59 +01:00
David Nadlinger
8062bb027a
Merge pull request #71 from SiegeLord/master
...
Add the -property command line argument
2012-02-06 07:13:37 -08:00
kai
f9201e8352
Merge 1.072
2012-02-02 03:13:27 +01:00
SiegeLord
be9c6d03e5
Add -property command line argument
2012-01-30 18:35:09 -05:00
kai
6726b5da13
Compile LDC2 with VS2010 64bit (LDC changes only).
...
Contains all changes necessary to LDC specific source to compile LDC2 with VS2010. See https://github.com/D-Programming-Language/dmd/pull/516 for necessary changes to DMDFE.
2012-01-11 07:49:21 +01:00
Alexey Prokhin
04ef3ee901
Fixed #50 — ICE on local import + -O3
2012-01-10 21:36:19 +04:00
Alexey Prokhin
641cc85e64
Added -shared switch.
...
If the flag is passed, ldc will create a shared library not an executable file.
2011-12-06 19:43:14 +04:00
Alexey Prokhin
fdead0d154
Fixed #21 — Added -lib switch
2011-12-06 17:24:49 +04:00
Alexey Prokhin
7da47c4ee8
Restored old behavior of initialization of llvm targets.
...
LDC initializes only a llvm host target and targets that were explicitly
requested when building the program.
2011-12-05 21:41:37 +04:00
Alexey Prokhin
6357c421ac
Updated ldc version and homepage
2011-12-03 13:52:05 +04:00
Alexey Prokhin
014d6bdd4d
Merged 2.056
2011-12-02 21:50:52 +04:00
Alexey Prokhin
5e0a2b7761
Merge branch 'llvm3.0' into master
2011-12-02 13:26:31 +04:00
kai
a5b3dd29b5
Fixes 2 kinds of warnings.
...
1) The last parameter of getGetElementPtr() has type bool. In some instances, a 2 is used as parameter. This is converted to true.
2) Several loops use int instead of unsigned. This causes warning about signed/unsigned mismatch.
Curiously, only Visual C++ complains about this. Nevertheless I think that the warnings should be fixed.
2011-11-23 19:01:04 +01:00
David Nadlinger
5e18625266
Define MinGW in addition to mingw32 for consistency with GDC.
...
When we get Win64 support, it should be defined there as well.
2011-11-08 21:27:02 +01:00
Alexey Prokhin
b52c224d57
Merge v2.056
2011-11-01 11:44:03 +04:00
Alexey Prokhin
bf463d61da
Readded 'relocation-model' and 'code-model' options
2011-10-25 15:43:49 +04:00
Alexey Prokhin
b97b32759e
Use LLVM Machine Code (MC) to emit object files. Finilize debug info
2011-10-25 15:43:49 +04:00
Alexey Prokhin
629f13929e
WIP: port to llvm 3.0
2011-10-25 15:43:39 +04:00
Alexey Prokhin
a0e4737c2e
Treat warnings as errors like dmd does
2011-09-13 21:01:39 +04:00
Alexey Prokhin
0e754b5acd
Merge dmd v2.055
2011-09-13 21:01:32 +04:00
Alexey Prokhin
6bc2431b6b
Skip unittests in imported modules
2011-04-30 15:30:57 +04:00
Kelly Wilson
72ea043124
Recommit klickverbot's patch for LLVM-2.9.
2011-04-20 09:28:37 -06:00
Kelly Wilson
7c81278b9c
Backed out changeset 5253bfbb3890
2011-04-20 00:28:23 -06:00
Kelly Wilson
b26b0f4196
Upgrade to LLVM-2.9. Thanks to David Nadlinger for the patch.
2011-04-19 21:57:15 -06:00
Alexey Prokhin
81e0203a6c
Fixed -oq flag
2011-01-06 15:50:47 +03:00
Alexey Prokhin
ceac300df2
Run deferred semantic
2011-01-04 14:03:27 +03:00
Alexey Prokhin
7911589964
Added ability to generate JSON files. Fixed generating of 'header' files.
2011-01-04 13:48:08 +03:00
Alexey Prokhin
df87607ba2
Updated to 2.049
2010-09-30 21:54:45 +04:00
Alexey Prokhin
93ddf8112b
Fixed compilation of ldc2
2010-09-28 20:51:27 +04:00
Moritz Warning
fd4899f46f
remove revisions.pl; we go with llvm releases now
2010-10-23 14:10:25 +02:00
Moritz Warning
233299e5c8
Haiku OS support; thanks to MrSunshine
2010-10-04 00:58:14 +02:00
Moritz Warning
09b9644292
see #428 :: make identifiers unique for modules without module statement that are passed on command line; thanks SiegeLord
2010-09-27 00:01:47 +02:00
Tomas Lindquist Olsen
1fac40d2bd
Update to work with LLVM 2.7.
...
Removed use of dyn_cast, llvm no compiles
without exceptions and rtti by
default. We do need exceptions for the libconfig stuff, but rtti isn't
necessary (anymore).
Debug info needs to be rewritten, as in LLVM 2.7 the format has
completely changed. To have something to look at while rewriting, the
old code has been wrapped inside #ifndef DISABLE_DEBUG_INFO , this means
that you have to define this to compile at the moment.
Updated tango 0.99.9 patch to include updated EH runtime code, which is
needed for LLVM 2.7 as well.
2010-05-19 12:42:32 +02:00
Matti Niemenmaa
7edb3d1875
Don't error out with -singleobj, -of, and -c/-output-{bc,ll,o,s}.
2010-03-09 23:20:39 +02:00
Matti Niemenmaa
68daadf53c
Add -linkonce-templates for emitting linkonce_odr syms instead of weak_odr.
2010-03-09 23:07:08 +02:00
Matti Niemenmaa
b0271794cd
Make -nodefaultlib override -de{fault,bug}lib=foo instead of vice versa.
2010-03-05 21:40:51 +02:00
Christian Kamm
3479e91996
Merge DMD 1.051
2009-11-06 23:58:01 +01:00
Christian Kamm
64a8e47ad6
Fix several 'reaches end of function' warnings by making fatal noreturn.
...
The warnings also pointed out a few genuine bugs. Replace some tabs with
spaces.
2009-11-06 21:51:41 +01:00
Benjamin Kramer
8b6f11938a
Kill off StripMetaData.
2009-08-25 21:35:43 +02:00
Benjamin Kramer
f3aad137c5
Remove dummy module hack.
2009-08-06 16:02:14 +02:00
Benjamin Kramer
977fa551ee
Push the context through StructType::get.
...
Requires LLVM >= 78258. Also remove old #if's.
2009-08-06 01:47:39 +02:00
Benjamin Kramer
e05d3d8c3a
lookupTarget no longer takes a Module.
...
And we need to get TargetData from the module if the Target
doesn't have it.
2009-08-04 12:21:59 +02:00
Benjamin Kramer
5b84e64f6c
Build fix for TargetMachine changes.
...
#if'ed for now.
2009-08-03 11:29:35 +02:00
Tomas Lindquist Olsen
d5d3ecdb05
Added back option to disable metadata generation and users. Set USE_METADATA to OFF in ccmake.
2009-07-31 11:28:31 +02:00
Benjamin Kramer
a31f3eb98f
getClosestStaticTargetForModule was replaced with lookupTarget
...
Build fix for LLVM r77111.
2009-07-28 15:26:21 +02:00
Benjamin Kramer
69171c07cd
Temporarily force our LLVMContext to the global context
...
From llvm r75846:
"To simplify the upcoming context-on-type change, switch all command
line tools to using the default global context for now."
2009-07-20 17:55:05 +02:00
Benjamin Kramer
ac5bd294ca
We need to parse mArch ourselves now
...
Build fix for LLVM r75890
2009-07-17 19:23:20 +02:00
Benjamin Kramer
7359448063
Use TargetRegistry instead of TargetMachineRegistry for Target lookups
...
This fixes the build for LLVM >= r75774 and will probably break older
LLVM revs.
2009-07-15 23:01:51 +02:00
Benjamin Kramer
0ee2f34611
Don't use llvm::getGlobalContext() anymore
2009-07-13 20:16:15 +02:00