David Nadlinger
b005b3caa7
Fixed "silent" typo in last commit.
2012-12-08 20:43:33 +01:00
David Nadlinger
578da45482
Use -O0 for core.*/gc.* on pre-3.2 x86 builds.
...
This is less than optimal, since it will cost us a lot in terms of
performance, but it seems to be the only choice until somebody
manages to further narrow the issue down.
As the builds never used release mode until a few days ago, the
slowdowns should not trigger much surprise, though.
2012-12-08 19:51:05 +01:00
David Nadlinger
d5e176484d
Verbose log prettification.
2012-12-08 19:19:08 +01:00
David Nadlinger
3df39b642a
Don't build tests twice under MULTILIB on 32 bit boxes.
...
Specifying the flag there probably doesn't make much sense in
the first place.
2012-12-08 19:18:41 +01:00
David Nadlinger
4ec9779873
Fix runtime unit test arguments.
...
The code had bitrotted to the point where only the first argument
was picked up.
2012-12-08 18:15:47 +01:00
David Nadlinger
48f476dcbe
Consistently drop conditions in else/end CMake statements.
2012-12-08 18:15:47 +01:00
David Nadlinger
213ae8da16
Remove stale comment.
2012-12-08 18:08:25 +01:00
David Nadlinger
a74e4abe58
Fix testsuite target dependency setup.
...
No idea how this worked locally.
2012-12-07 00:04:03 +01:00
David Nadlinger
5a6176316a
Use CMake-detected make program.
...
This probably doesn't make a huge difference in practice, as the
DMD test suite scripts require a Posix-ish environment anyway.
2012-12-06 23:17:32 +01:00
David Nadlinger
6cb0193c53
Clean files from previous runs before executing DMD testsuite.
2012-12-06 23:15:45 +01:00
David Nadlinger
18e0fafe8e
Run tests both in 32 and 64 bit mode on multilib builds.
2012-12-06 21:57:18 +01:00
David Nadlinger
2ac9c0dcba
Include --no-search-mismatch on multilib builds.
2012-12-06 21:57:18 +01:00
David Nadlinger
fded2e9fcd
Only use -O2 for compiling druntime/Phobos on pre-3.2 LLVM.
2012-12-06 21:43:35 +01:00
David Nadlinger
cf88418bd0
Use shiny new debug libraries.
2012-12-06 16:24:22 +01:00
David Nadlinger
b9455b2c99
Config options cleanup.
...
Still not too fond of the fancy layout.
2012-12-06 16:17:58 +01:00
David Nadlinger
02feb23b06
Always build zlib, ... in release mode.
2012-12-06 15:51:47 +01:00
David Nadlinger
3244519d6f
Cleanup of runtime building macros.
...
No functional change intended.
2012-12-06 15:51:42 +01:00
David Nadlinger
8acc39dc93
Initial support for building debug/release versions of druntime/Phobos.
2012-11-28 00:37:40 +01:00
kai
e239bd6e87
Windows: Add /DEBUG to linker command line if debug symbols are requested.
2012-11-27 06:32:52 +01:00
David Nadlinger
a2d433c7f4
Fix build-local ldc.conf paths when LIB_SUFFIX is set.
2012-11-25 01:38:11 +01:00
David Nadlinger
fece2d2641
LDMD: Don't enable -singleobj for D1.
2012-11-24 23:19:11 +01:00
David Nadlinger
288fd47707
Merged 1.075 frontend.
2012-11-24 21:10:13 +01:00
David Nadlinger
2d02270434
Re-enabled codegen optimization on LLVM 3.2.
...
The bug (PR14376) has been fixed in both master and the release branch.
2012-11-24 14:07:17 +01:00
David Nadlinger
19f570bcb9
AttrListPtr also requires the context arg in LLVM 3.2 now.
2012-11-24 12:40:12 +01:00
David Nadlinger
049f482208
Removed extra dash in "-singleobj" emitted by LDMD.
...
Purely cosmetic change.
2012-11-24 12:32:18 +01:00
David Nadlinger
146649af1a
Fixed OS X TLS GC.
2012-11-22 00:33:26 +01:00
kai
2fec23b84e
AttrlistPtr::get() now requires context as first argument.
...
This is the first LLVM 3.3 related change.
2012-11-21 22:10:26 +01:00
David Nadlinger
9162724956
Merge pull request #237 from jerro/master
...
Fix issue #236
2012-11-19 14:19:19 -08:00
Jernej Krempuš
755b271096
Fix issue #236
2012-11-19 23:05:53 +01:00
kai
dcff6c92c7
Conditionally add error() prototype and remove inifile().
...
This is alyready done in `dmd2/mars.h`.
2012-11-18 18:04:35 +01:00
kai
45848d19fc
Remove unused include. This fixes yet another MSVC-related compile problem.
...
Root cause is the `root.h` defines `strtof` which is used in `llvm/Target/TargetLibraryInfo.h` as an enumeration identifier.
2012-11-18 17:52:10 +01:00
kai
ccde570520
Fixed a compiler error with MSVC.
...
Maybe caused by recent changes to `expression.c`.
2012-11-18 13:37:55 +01:00
David Nadlinger
60ebf5b968
Fix building against the OS X 10.8 SDK.
...
This is a backport of DMD commit 47bee50a39 by Justin Holewinski.
GitHub: Fixes #218 .
2012-11-17 22:29:23 +01:00
David Nadlinger
a2089e8c55
Merged druntime .di generation updates by jerro.
...
GitHub: fixes #207 .
2012-11-17 21:16:10 +01:00
Jernej Krempuš
2818f2460e
Install all headers in core/sys on all platforms.
2012-11-17 20:54:30 +01:00
David Nadlinger
93d4d90239
Inline IR testsuite updates.
2012-11-17 11:07:55 +01:00
David Nadlinger
30aba033c8
Don't push -L-l/-L-L using -Xlinker.
2012-11-15 23:02:06 +01:00
David Nadlinger
34e1415f35
Merge pull request #226 from jerro/pragma-llvm-inline-ir
...
Pragma llvm_inline_ir
2012-11-15 12:05:17 -08:00
David Nadlinger
be1327bfba
Merge pull request #232 from alexrp/master
...
Correctly set MIPS64 version identifier.
2012-11-15 07:48:46 -08:00
alexrp
811dca3cf6
Correctly set MIPS64 version identifier.
2012-11-15 16:47:37 +01:00
David Nadlinger
237b0f25dc
druntime '_end'/'end' updates.
...
This should fix the test suite build on Arch Linux.
2012-11-15 11:54:27 +01:00
David Nadlinger
636b37d056
D1 tests: Updated local copy of object.di.
...
The type info layout was changed in DMD; Tango already has the changes.
2012-11-11 00:42:08 +01:00
David Nadlinger
540888d6d0
Removed tautological #if block.
2012-11-11 00:32:15 +01:00
David Nadlinger
d14a869c19
Only emit a single bitcast for struct literal padding.
...
Mostly a cosmetic change.
2012-11-10 20:22:56 +01:00
David Nadlinger
5944e9cc51
Correctly zero out real padding in struct literals.
...
Fixes the std.variant unit tests on x86_64.
2012-11-10 20:11:10 +01:00
David Nadlinger
ab94a6d60c
Don't treat __ensure specially in LDC.
...
The only change here is commenting out the Id::ensure check,
the rest is just alignment of the code to upstream DMD.
2012-11-08 23:53:50 +01:00
Jernej Krempuš
7bbe782615
Pragma llvm_inline_ir
...
Adding pragma llvm_inline_ir.
Improved the error messages.
Append "ret void" when the return type is void
Improved the error message
in case when the string passed as llvm inline ir isn't valid llvm
assembly language.
LLVM 3.2 fix.
Add attribute AlwaysInline inside DtoInlineIRFunction.
Always generate a body for llvm_inline_ir
Also, always make llvm_inline_ir functions linkonce_odr. Because
the body is always generated when a module uses a llvm_inline_ir
function, the fact that the linker removes the function shouldn't
cause problems.
2012-11-08 22:05:15 +01:00
David Nadlinger
45a3060da7
Prettied up nested context debug output.
...
The assertion is currently triggered when building the Tango/D1 unit tests.
2012-11-08 21:44:14 +01:00
David Nadlinger
7708d2e27a
Added '-vdmd' option to LDMD.
...
The name is not optimal; it has been chosen for GDC compatibility.
Thanks to Jonathan Mercier for the original patch.
2012-11-07 00:14:40 +01:00
David Nadlinger
c558f9caab
Added -disable-simplify-libcalls.
...
-disable-simplify-drtcalls was only intended to disable our
custom druntime call simplication pass for debugging purposes.
The new flag controls C runtime library calls optimizations as
performed by the LLVM pass, just as the corresponding LLVM tool
flags do.
2012-11-06 23:53:59 +01:00