Martin Kinkelin
9ce57807c0
Drop support for LLVM 9 and LLVM 10
2023-07-29 01:12:43 +02:00
Nicholas Wilson
19e7024377
Fix some more deprecations with LLVM 16 ( #4185 )
2022-09-18 08:00:30 +08:00
Martin Kinkelin
bdef01e7cc
Raise min LLVM version to 9.0
2022-04-25 23:11:48 +02:00
Johan Engelen
41de641a2c
Output error code and message string upon cache file errors. ( #3900 )
...
This makes the error message look like this, for example:
```
Error: Could not create name of temporary file in the cache (errno 13: Permission denied)
\---------------------------/ this is the new part
```
2022-01-17 23:22:34 +00:00
Nicholas Wilson
1568d0cdca
Fix compilation with LLVM 14 ( #3822 )
2021-09-17 16:41:49 +02:00
Martin Kinkelin
1e00f63045
Adapt to upstream global.params.* -> target.* shuffling
2021-05-29 00:19:22 +02:00
Hiroki Noda
a8d98fc054
Use new OpenFlags enumeration ( #3710 )
...
[This](https://reviews.llvm.org/D101506 ) drops old deprecated
OpenFlags support.
OF_{Append,None,Text} has been available since LLVM 9.
- https://reviews.llvm.org/rG1f67a3cba9b09636c56e2109d8a35ae96dc15782
2021-05-01 00:43:45 +00:00
Martin Kinkelin
96b9cde428
Add support for LLVM 11
...
One major change is the removal of llvm::CallSite, which I've replaced
by llvm::CallBase*.
2020-09-26 01:04:50 +02:00
Martin Kinkelin
834f666ce5
Raise min LLVM version to 6.0 ( #3493 )
2020-07-13 20:42:50 +02:00
Martin Kinkelin
e52199469f
Upgrade front-end & libs to v2.087.0-beta.1
2019-06-21 15:39:45 +02:00
Martin Kinkelin
3817ab0595
Upgrade front-end & libs to v2.086.0-beta.1
2019-04-23 22:13:13 +02:00
Martin Kinkelin
306bda36fd
Adapt to latest LLVM 8 changes
2019-03-02 19:54:36 +01:00
Johan Engelen
354e45737b
Support LLVM 9 (trunk) ( #2983 )
...
* LLVM 9: fix sanitizer pass renaming
* Add LLVM 9 to intrinsics in druntime
* LLVM 9: fix commandline option change from `-disable-fp-elim` to -frame-pointer=`
Resolves issue 2980
2019-01-25 17:58:26 +01:00
Johan Engelen
3eb3b5188a
Fix compilation with LLVM trunk.
2018-11-02 16:01:40 +01:00
Martin Kinkelin
5c24f60cf9
Raise min LLVM version to 3.9 ( #2872 )
2018-10-15 22:31:59 +02:00
Johan Engelen
0c8c0e6a18
Fix build with LLVM trunk. ( #2767 )
2018-07-09 20:09:44 +02:00
Martin
4f4ad49e58
LLVM 6: Adapt to LLVM CodeModel cmdline option now exposed as llvm::Optional
2018-04-15 03:38:16 +02:00
Johan Engelen
aa979e6e90
fix LLVM7.0 build ( #2578 )
2018-02-19 00:07:01 +03:00
Martin
cfad799f48
Merge 2.078.0 front-end and stdlibs
2018-01-06 01:39:18 +01:00
kinke
ae9d43c167
Use LLVM headers for shared codegen command-line options ( #2148 )
...
I.e., llvm/CodeGen/CommandFlags.h which in turn includes
llvm/MC/MCTargetOptionsCommandFlags.h.
This gets rid of a few duplicates on our side and includes about 35
(depending on LLVM version) new command-line options. LLVM provides a
helper function to set up the TargetOptions according to (most of) these
options.
Newer LLVM versions may add new options and we'll automatically inherit
them, including setting up the TargetOptions accordingly.
I did my best (TM) to remove a few unused/undesirable options and hide all
remaining new ones except for `-fp-contract`. The lists will need to be
tweaked from time to time.
2017-09-20 01:04:43 +02:00
Johan Engelen
22b1accb59
Replace -sanitize
with -fsanitize
and add -fsanitize-coverage
. ( #2149 )
...
This reworks the sanitizer interface to be identical with Clang's.
What's left to do is pass the correct runtime libraries to the linker.
2017-06-15 17:19:21 +02:00
David Nadlinger
747f7a3dfa
clang-format files touched in d01a91f7
[nfc]
...
Some housekeeping on files that recently saw large changes anyway.
2017-05-24 21:35:40 +01:00
Martin
d01a91f755
Allow multiple occurrences for almost all command-line flags
...
Except for `-sanitize` and `-cache-prune*`.
2017-05-23 20:53:57 +02:00
Johan Engelen
c72d976f84
cache: Add files atomically to the cache (copy to temp file + rename), to prevent cache poisoning upon program abort during copying the file into the cache.
2017-01-07 16:21:47 +01:00
Johan Engelen
05ce3a3170
Implement different cache recovery mechanisms.
2016-11-25 11:42:49 +01:00
Johan Engelen
89e29b61bc
Fix LLM 4.0 build. ( #1895 )
2016-11-25 11:40:45 +01:00
Rainer Schuetze
99d455226e
fix build against LLVM master: llvm/Bitcode/ReaderWriter.h has been split and renamed
2016-11-13 11:05:53 +01:00
Rainer Schuetze
08e1c496dc
fix build against current LLVM master @ 9b4e8286785f538e73d2e3eaa96f88c3d98b9960
2016-10-27 08:08:19 +02:00
Johan Engelen
61e99e82d7
Rename "ir2obj-cache" to "cache" (source and filenames)
2016-10-12 18:58:01 +02:00