Commit graph

3545 commits

Author SHA1 Message Date
kai
08b51f836a Add code for the new DataLayoutPass in LLVM 3.5 2014-03-10 06:51:07 +01:00
kai
bc0788deac Fix DataLayout changes in LLVM 3.5.
DataLayout must now be a pointer because it can be null.
2014-03-10 06:50:03 +01:00
kai
810e2b6bbc Add a new parameter required by LLVM 3.5 2014-03-10 06:48:56 +01:00
kai
be1baa877a Fix file reading modes for LLVM 3.5 2014-03-07 06:40:42 +01:00
kai
2f2fa92df3 Fix includes for LLVM 3.5 2014-03-07 06:40:39 +01:00
Kai Nacke
5b14a5e5c4 Merge branch 'master' into merge-2.064 2014-03-05 19:08:50 +01:00
Kai Nacke
6e908ff525 Add new architecture aarch64_be. 2014-03-05 19:01:43 +01:00
Kai Nacke
860ac74415 NVPTX/NVPTX64 is not available in LLVM 3.1. 2014-03-05 18:54:01 +01:00
Kai Nacke
7f44320dd0 Merge branch 'master' into merge-2.064 2014-03-05 18:48:11 +01:00
Kai Nacke
e735efc6aa Add version identifier for Nvidia PTX. 2014-03-05 18:47:28 +01:00
Kai Nacke
f76106869b Merge branch 'master' into merge-2.064 2014-03-04 20:29:49 +01:00
Kai Nacke
11c2fb419c Fix to compile LDC on FreeBSD 10.
This fixes issue #584.
2014-03-04 18:44:56 +01:00
Kai Nacke
92b070ac2d Add macros which are removed in LLVM trunk. 2014-03-04 06:56:49 +01:00
Kai Nacke
3172b321fa Merge branch 'master' into merge-2.064 2014-03-04 06:40:57 +01:00
David Nadlinger
671f1b8d13 Merge pull request #583 from itaiferber/master
Fixes #544
2014-02-20 22:04:52 +01:00
Itai Ferber
d4a2edac79 Fixes #544
Including `<iostream>` allows LDC to compile correctly on some Macs running OS X Mavericks.
2014-02-20 15:35:47 -05:00
kai
27c0785ec4 Add fixed unit test for MinGW. 2014-02-05 07:42:45 +01:00
kai
36ad7e8e2c ldmd should not pass -singleobj to ldc2 if a static lib is build.
dmd has the same behaviour. This fixes issue #579.
2014-02-05 06:52:07 +01:00
kai
cd9e468201 Enable command line option -disable-simplify-libcalls for LLVM 3.4+. 2014-02-04 18:07:46 +01:00
kai
aaaca39a4e Enable vectorizer with LLVM 3.4+.
The missing initialization code disables the vectorizer.
2014-02-04 07:18:32 +01:00
kai
5ded3ff54c Do not enable EABI on Darwin.
This should fix a crash using triple armv7-apple-darwin with LLVM 3.4.
2014-02-01 22:40:27 +01:00
Kai Nacke
4c2d23922e Fix the ARM build with LLVM 3.5.
EHABI is now enabled be default and the options to enable it are gone.
2014-02-01 15:17:38 +01:00
kai
597be3f8a8 Fix mangled name of naked function on Windows using MSVC.
Do not add an additional underscore (_).
2014-01-26 19:02:06 +01:00
kai
6fc0aece6d New core.thread assembler 2014-01-26 19:01:42 +01:00
Kai Nacke
d6b4000f8c Merge remote-tracking branch 'origin/master' into merge-2.064 2014-01-26 00:01:38 +01:00
Kai Nacke
704ab30001 Emit ldc version as llvm.ident metadata. 2014-01-26 00:00:21 +01:00
unknown
cc8c19bb4e Fix list of excluded files in D runtime 2014-01-25 17:46:34 +01:00
unknown
77ab34a975 Remove backup file 2014-01-25 16:40:37 +01:00
unknown
c188a55963 Fix mingw32 build 2014-01-24 08:08:57 +01:00
Kai Nacke
4006fbbd85 Merge branch 'master' into merge-2.064 2014-01-19 13:43:15 +01:00
Kai Nacke
49599f71e9 Add sanitizer attributes.
If the sanitizer is enabled (e.g. -sanitize=address) then the corresponding
attribute (e.g. llvm::Attribute::SanitizerAddress) must be set.
2014-01-19 13:03:37 +01:00
Kai Nacke
746fe9d2c8 Merge branch 'master' into merge-2.064 2014-01-19 12:38:54 +01:00
Kai Nacke
ea9c996dcd Fix new signature of verifyModule() in LLVM 3.5. 2014-01-19 12:36:42 +01:00
Kai Nacke
5442e7d378 Merge branch 'master' into merge-2.064 2014-01-19 11:03:44 +01:00
Kai Nacke
a39e5582e6 DLL linkage is decoupled from linkage in LLVM 3.5. 2014-01-19 11:02:27 +01:00
Kai Nacke
c193a3b4c8 Merge branch 'master' into merge-2.064 2014-01-13 18:17:51 +01:00
Kai Nacke
87afa717ae Fix more files for LLVM 3.5. 2014-01-13 18:16:22 +01:00
Kai Nacke
588a24a2cf Merge branch 'master' into merge-2.064 2014-01-13 18:02:30 +01:00
Kai Nacke
c14e065138 Fix the LLVM 3.5 build.
Some classes were moved into IR folder.
2014-01-13 17:08:43 +01:00
Kai Nacke
e69b1ebb28 Change compiler options for MSVC.
This fixes issue #458.
2014-01-12 22:42:34 +01:00
kai
412aeda046 Remove gen/utils.h
ArrayIter<> is replaced by Array<>::iterator or other patterns.
The class is now unused and can be removed.
2014-01-12 18:07:28 +01:00
kai
c6f856c01e Remove last uses of ArrayIter<>. 2014-01-12 18:07:27 +01:00
Kai Nacke
a831d4e11c Fix LLVM 3.4/3.5 build 2014-01-12 13:51:12 +01:00
Alexey Prokhin
a6973a39b7 Temporary variables cannot be referenced inside a closure 2014-01-12 15:44:17 +04:00
Alexey Prokhin
6ef20b6123 Fixed incorrect static library path 2014-01-12 15:44:17 +04:00
Kai Nacke
680568bb62 Merge branch 'master' into merge-2.064 2014-01-12 11:53:00 +01:00
Kai Nacke
b4b71e6c79 Fix include for LLVM 3.5 2014-01-12 11:37:52 +01:00
Kai Nacke
c41c4476b9 Merge branch 'master' into merge-2.064 2014-01-11 17:27:01 +01:00
Kai Nacke
52a17c3a34 Fix build with LLVM 3.5 2014-01-11 17:25:59 +01:00
kai
6287a4d422 Replace ArrayIter<> with Array<>::iterator.
Just use the new iterator instead of the old Java-like class.
Also removes a dead iterator and replaces an iterator with a
pointer in some place.
2014-01-11 14:48:41 +01:00