| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Copying isn't cheap as it contains a std::string.
llvm-svn: 202880
|
|
|
|
|
|
|
|
|
|
| |
line arguments and directories tree. The old toolchain selection heuristics
worked incorrectly when user has a reduced MIPS toolchain supports
the O32 ABI only.
Patch reviewed by Jonathan Roelofs, David Majnemer.
llvm-svn: 202873
|
|
|
|
| |
llvm-svn: 202639
|
|
|
|
| |
llvm-svn: 202625
|
|
|
|
| |
llvm-svn: 202151
|
|
|
|
|
|
| |
Partially based on http://llvm-reviews.chandlerc.com/D2644 by Viktor Kutuzov.
llvm-svn: 202150
|
|
|
|
| |
llvm-svn: 202108
|
|
|
|
|
|
|
|
|
| |
There is no bound architecture for the dsymutil action in the driver. Trying
to check various properties of the target will cause an assertion failure
because the target doesn't get initialized without a bound architecture.
<rdar://problem/16111555>
llvm-svn: 201830
|
|
|
|
|
|
| |
Patch by Stephan Falke.
llvm-svn: 201794
|
|
|
|
| |
llvm-svn: 201709
|
|
|
|
|
|
| |
Patch by Andrew Turner.
llvm-svn: 201662
|
|
|
|
|
|
|
|
|
| |
We later emit a proper error in the situations where this would trigger, so
there's no need to check.
rdar://problem/16040604
llvm-svn: 201508
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch improves the support for picking Multilibs from gcc installations.
It also provides a better approximation for the flags '-print-multi-directory'
and '-print-multi-lib'.
This reverts r201203 (i.e. re-applying r201202 with small fixes in
unittests/CMakeLists.txtto make the build bots happy).
review: http://llvm-reviews.chandlerc.com/D2538
llvm-svn: 201205
|
|
|
|
|
|
| |
Breaks cmake configure of new unit tests directory
llvm-svn: 201203
|
|
|
|
|
|
|
|
|
| |
This patch improves the support for picking Multilibs from gcc installations.
It also provides a better approximation for the flags '-print-multi-directory'
and '-print-multi-lib'.
review: http://llvm-reviews.chandlerc.com/D2538
llvm-svn: 201202
|
|
|
|
| |
llvm-svn: 201172
|
|
|
|
|
|
|
|
|
| |
Use the verify hook rather than the compile hook to represent the
-verify-pch action, and move the exising --verify-debug-info action
into its own subclass of VerifyJobAction. Incidentally change the name
printed by -ccc-print-phases for --verify-debug-info.
llvm-svn: 200938
|
|
|
|
| |
llvm-svn: 200668
|
|
|
|
|
|
| |
support.
llvm-svn: 200667
|
|
|
|
| |
llvm-svn: 200665
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building for i386 or x86_64 with IPHONEOS_DEPLOYMENT_TARGET set in the
environment, the toolchain correctly recognizes that the target platform is
the iOS simulator. The code in Darwin::addMinVersionArgs was not updated for
svn 197148, where isTargetIPhoneOS() was widely replaced by isTargetIOSBased().
This is kind of a strange case, though, because we probably ought to be
passing -ios_simulator_version_min to the linker, but according to the FIXME
in the code, we intentionally avoid that unless the -mios-simulator-version-min
option was used. I don't know whether it is safe to change that yet, so
for now, I am just fixing the assertion failure.
llvm-svn: 200618
|
|
|
|
| |
llvm-svn: 200081
|
|
|
|
| |
llvm-svn: 199875
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libc++) when the installation is within the system root.
This doesn't really help cross compiles much, but we don't (currently)
have a great story around libc++, cross compiles, and who is responsible
for building and/or installing the libraries. However, it handles the
very common case of non-cross builds in a way entirely consistent with
GCC, so I'm hopeful this won't really hose anyone.
This is the second patch that I think should be backported to 3.4 to
give folks an easy to checkout and install working Clang+libc++
toolchain.
llvm-svn: 199769
|
|
|
|
|
|
|
| |
There's nothing Darwin-based in the files or target now, so the previous name
is now misleading.
llvm-svn: 199733
|
|
|
|
|
|
|
|
| |
Recent versions of the iOS simulator no longer require linking with the
crt1.o, dylib1.o, or bundle1.o files. The relevant code is now included in
libSystem for the simulator.
llvm-svn: 199696
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now instead of just looking in the system root for it, we also look
relative to the clang binary's directory. This should "just work" in
almost all cases. I've added test cases accordingly.
This is probably *very* worthwhile to backport to the 3.4 branch so that
folks can check it out, build it, and use that as their host compiler
going forward.
llvm-svn: 199632
|
|
|
|
| |
llvm-svn: 199529
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously we had bodged together some hacks mapping MachO embedded
targets (i.e. mainly ARM v6M and v7M) to the "*-*-darwin-eabi" triple.
This is incorrect in both details (they don't run Darwin and they're
not EABI in any real sense).
This commit appropriates the existing "MachO" environment for the
purpose instead.
llvm-svn: 199367
|
|
|
|
|
|
| |
This was never used for anything so we should just get rid of it.
llvm-svn: 199336
|
|
|
|
| |
llvm-svn: 199073
|
|
|
|
| |
llvm-svn: 198940
|
|
|
|
| |
llvm-svn: 198918
|
|
|
|
|
|
|
| |
encodes the canonical rules for LLVM's style. I noticed this had drifted
quite a bit when cleaning up LLVM, so wanted to clean up Clang as well.
llvm-svn: 198686
|
|
|
|
|
|
| |
These flags will be used for instrumentation based PGO.
llvm-svn: 198639
|
|
|
|
|
|
|
|
|
|
|
|
| |
This refactors some of the Darwin toolchain classification to give a more solid
distinction between the three primary Darwin platforms (OS X, IOS and IOS
simulator) so that a 4th choice can be added temporarily: embedded MachO
targets.
Longer term, this support will be factored out into a separate class and no
longer classified as "darwin-eabi", but the refactoring should still be useful.
llvm-svn: 197148
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an experimental feature, where -integrated-as will be
on by default on ARM/Thumb. We aim to detect the missing features
so that the next release is stable.
Updating the ReleaseNotes, too.
Also moving the AArch64 into the same place.
llvm-svn: 197024
|
|
|
|
|
|
|
|
|
|
|
|
| |
- krait processor currently modeled with the same features as A9.
- Krait processor additionally has VFP4 (fused multiply add/sub)
and hardware division features enabled.
- krait has currently the same Schedule model as A9
- krait cpu flag is not recognized by the GNU assembler yet,
it is replaced with march=armv7-a to avoid a lower march
from being used.
llvm-svn: 196618
|
|
|
|
|
|
|
| |
and call it from its only user. The linux toolchain. This saves quite
a lot of directory searching on other platforms.
llvm-svn: 196590
|
|
|
|
| |
llvm-svn: 196510
|
|
|
|
|
|
| |
Sourcery MIPS toolchain.
llvm-svn: 195753
|
|
|
|
|
|
|
| |
toolchain first and check the path existence. If the path does not
exist build and check a path suffix for Code Sourcery toolchain.
llvm-svn: 195751
|
|
|
|
| |
llvm-svn: 195750
|
|
|
|
|
|
|
| |
The integrated assembler was already the default for win32. It is now able
to handle a clang bootstrap on mingw, so make it the default.
llvm-svn: 195676
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clang still has support for running gcc for performing various stages
of a build. Right now it looks like this is used for
* Supporting Fortran in the clang driver
* Running an assembler or linker in systems we don't yet know how to
run them directly.
It looks like the gcc::Precompile is a vestige from the days when we
supported using clang for C and running gcc for c++. This patch removes it
(yes, we have no tests for it).
llvm-svn: 195586
|
|
|
|
|
|
|
|
|
|
|
| |
This is currently unused by any test. The code path would still be hit
by clang on ppc, but
* PPC has not been supported on current versions of OS X
* A port of current clang to older OS X on ppc should be using
toolchains::DarwinClang.
llvm-svn: 195585
|
|
|
|
|
|
|
|
|
| |
Clang knows how to use the gnu assembler directly from doing so on linux and
hurd. The existing support worked out of the box on cygwin and mingw and I was
able to bootstrap clang with it in both systems (with pending patches for the
new mingw abi, but that is independent of the assembler).
llvm-svn: 195554
|
|
|
|
|
|
| |
to the crt*.o files, libraries and headers for the MIPS FSFS toolchain.
llvm-svn: 195249
|
|
|
|
|
|
|
|
| |
Teach the '-arch' command line option to enable the compiler-friendly
features of core-avx2 CPUs on Darwin. Pass the information along in the
target triple like Darwin+ARM does.
llvm-svn: 194907
|
|
|
|
|
|
|
|
| |
iOS simulator.
Add a test.
llvm-svn: 194820
|