Martin Storsjö
9f3a4a25f2
Support wrappers named <triplet>-c++ in clang-target-wrapper.sh as well
...
We currently don't install any such wrapper, but one might want to.
2018-10-02 23:38:19 +03:00
Martin Storsjö
fb5c95589c
Restructure clang-target-wrapper.sh to set one flag per line
2018-10-02 23:38:19 +03:00
Martin Storsjö
47fca28422
Tweak the wording for the comment about exception issues with dwarf for i686
2018-10-01 14:44:32 +03:00
Martin Storsjö
f0aa7c4c10
Revert "Use dwarf exceptions on i686 as well"
...
This reverts commit ca43ab5ccd .
It was reported in https://github.com/mstorsjo/llvm-mingw/issues/8 that
the dwarf unwinding on i686 doesn't always work.
This commit adds a testcase for the case that didn't work previously.
2018-10-01 14:28:30 +03:00
Martin Storsjö
d951a625bd
Switch to SEH exceptions for x86_64
2018-08-08 08:43:05 +03:00
Martin Storsjö
11e04f0466
Support destructors for thread local objects
2018-08-02 23:28:39 +03:00
Martin Storsjö
ca43ab5ccd
Use dwarf exceptions on i686 as well
...
Now libunwind works properly in this case for dwarf on i686 mingw.
2018-07-17 22:26:58 +03:00
Martin Storsjö
fa08e722ed
Don't use bashisms for finding the script directory
...
Posix sh and $0 should be good enough in most cases.
2018-05-07 09:49:48 +03:00
Martin Storsjö
ce282cdf5d
Use --driver-mode=g++ instead of invoking clang++
...
This avoids needing the clang++ symlink. On platforms without symlinks
(i.e. windows), clang.exe and clang++.exe are two separate but identical
executables. This allows getting rid of the latter, saving size.
2018-05-07 09:49:34 +03:00
Martin Storsjö
61eaf3a0de
Stop manually setting the sysroot
...
Since clang SVN r330244, the one next to clang is preferred, even
if a similar mingw gcc exists in the path.
2018-04-19 00:52:35 +03:00
Martin Storsjö
f175276aa7
Use native TLS on aarch64
2018-03-14 14:17:48 +02:00
Martin Storsjö
71e3239442
Allow setting CCACHE=1 to wrap all llvm-mingw building in ccache
2018-02-26 12:50:11 +02:00
Martin Storsjö
3e61dc4908
Consistently use 4 spaces for indentation in shell scripts
2018-02-26 12:48:18 +02:00
Martin Storsjö
55e8aef024
Provide <triplet>-<tool> wrappers and links to many llvm tools
...
Provide wrappers named <triplet>-gcc and <triplet>-g++ as well,
to ease cross compilation with e.g. autotools, to allow just
specifying --host=<triplet>.
Provide wrappers for objdump and ld that provide specific output
that autotools look for.
Provide <triplet>-strip as a symlink to /bin/true, since there is
no strip tool available yet (and llvm-objcopy doesn't support
COFF yet).
2018-01-10 10:53:02 +02:00
Martin Storsjö
9925666790
Rename the wrapper script, for consistency
2018-01-10 10:53:02 +02:00