| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
rdar://10993648
llvm-svn: 152180
|
| |
|
|
| |
llvm-svn: 150587
|
| |
|
|
|
|
|
|
| |
world on Solaris 11 for both x86 and x86-64 using the built-in assembler and
Solaris (not GNU) ld, however it currently relies on a hard-coded GCC location
to find crtbegin.o and crtend.o, as well as libgcc and libgcc_eh.
llvm-svn: 150580
|
| |
|
|
|
|
|
|
|
|
| |
When creating the MCSubtargetInfo, the assembler driver uses the CPU and
feature string to construct a more accurate model of what instructions
are and are not legal.
rdar://10840476
llvm-svn: 150273
|
| |
|
|
|
|
|
|
| |
the recent refactoring. All interesting NetBSD release have a GNU as
version on i386 that supports --32, so don't bother with the conditional
setting of it.
llvm-svn: 149087
|
| |
|
|
|
|
| |
http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
llvm-svn: 146959
|
| |
|
|
| |
llvm-svn: 146413
|
| |
|
|
|
|
| |
and prevent the diagnostic preprocessor run from writing a depfile.
llvm-svn: 143846
|
| |
|
|
|
|
|
|
|
|
|
| |
output on darwin so is hard coded there.
As a note this will need a little bit of refactoring in the class
hierarchy to separate it out for different verifiers based on input type.
Fixes rdar://8256258.
llvm-svn: 138343
|
| |
|
|
|
|
|
|
| |
automatically invoking llvm-gcc's cc1plus, which doesn't support all options
supported by Clang. Therefore, filter out unsupported options.
rdar://9964354
llvm-svn: 137842
|
| |
|
|
| |
llvm-svn: 133511
|
| |
|
|
|
|
|
|
|
|
| |
Preserve the original triple in the NetBSD toolchain when using -m32 or
-m64 and the resulting effective target is different from the triple it
started with. This allows -m32 to use the same assembler/linking in
cross-compiling mode and avoids confusion about passing down target
specific flags in that case like --32.
llvm-svn: 131404
|
| |
|
|
| |
llvm-svn: 127815
|
| |
|
|
| |
llvm-svn: 124736
|
| |
|
|
| |
llvm-svn: 118514
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*) Try to detect as much as possible from the system itself, not the distro.
This should make it easier to port to a new distro and more likely to
work on a unknown one.
*) The distro enum now doesn't include the arch. Just use the existing
host detection support in LLVM.
*) Correctly handle --sysroot.
A small regression is that now clang will pass bitcode file to the linker.
This is necessary for the gold plugin support to work.
It might be better to detect this at configure/cmake time, but doing it in
c++ first is a lot easier.
llvm-svn: 118382
|
| |
|
|
| |
llvm-svn: 118150
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
distros listed by running
gcc main.o -o main
g++ main.o -o main
gcc main.o -o main -static
g++ main.o -o main -static
gcc f.o -o f.so -shared
g++ f.o -o f.so -shared
and comparing the ld line with the one created by clang. I also added
-m32/m64 in distros that support it.
While I tested many distros, there will always be more. If you are hit by this
it should be somewhat easy to add your distro. If you are in a hurry, do
revert this, but please inform how to detect you distro and the ld command
lines produced by the above gcc invocations. Most distros have some patches
on gcc :-(
llvm-svn: 118149
|
| |
|
|
| |
llvm-svn: 113549
|
| |
|
|
| |
llvm-svn: 111748
|
| |
|
|
| |
llvm-svn: 110635
|
| |
|
|
|
|
| |
don't have to deal with nested jobs.
llvm-svn: 110015
|
| |
|
|
|
|
| |
input/output.
llvm-svn: 110012
|
| |
|
|
|
|
| |
from PR7583
llvm-svn: 107788
|
| |
|
|
| |
llvm-svn: 105474
|
| |
|
|
| |
llvm-svn: 104416
|
| |
|
|
| |
llvm-svn: 104280
|
| |
|
|
| |
llvm-svn: 103494
|
| |
|
|
|
|
|
|
| |
deciding when we need to emit an extra "command failed" diagnostic.
- This also fixes the case where we were emitting that extra diagnostics, even
when using clang w/ the integrated assembler, which has good diagnostics.
llvm-svn: 100529
|
| |
|
|
|
|
| |
Patch by Oleksandr Tymoshenko!
llvm-svn: 97544
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Requires backend support, which only exists for i386--darwin currently.
No 'as' required:
--
ddunbar@ozzy:tmp$ cat t.c
int main() { return 42; }
ddunbar@ozzy:tmp$ clang -m32 -integrated-as t.c
ddunbar@ozzy:tmp$ ./a.out; echo $?
42
ddunbar@ozzy:tmp$
--
The random extra whitespace is how you know its working! :)
llvm-svn: 95194
|
| |
|
|
|
|
| |
file.
llvm-svn: 94463
|
| |
|
|
|
|
| |
diverge from gcc anyway.
llvm-svn: 94138
|
| |
|
|
|
|
|
| |
would have a higher respect for its own code. This is getting old, is this
warning really adding value?
llvm-svn: 91779
|
| |
|
|
| |
llvm-svn: 81429
|
| |
|
|
| |
llvm-svn: 81390
|
| |
|
|
|
|
| |
there.
llvm-svn: 81367
|
| |
|
|
| |
llvm-svn: 81346
|
| |
|
|
| |
llvm-svn: 81016
|
| |
|
|
| |
llvm-svn: 81010
|
| |
|
|
| |
llvm-svn: 79713
|
| |
|
|
|
|
| |
- Patch by Jonathan Gray!
llvm-svn: 74453
|
| |
|
|
|
|
| |
- Patch by Alex Hornung!
llvm-svn: 70635
|
| |
|
|
| |
llvm-svn: 69410
|
| |
|
|
|
|
|
|
| |
up adding them twice when running with -no-integrated-cpp or
-save-temps.
- <rdar://problem/6766636> -save-temps falls over with prefix headers
llvm-svn: 68660
|
| |
|
|
|
|
| |
- Patch by Ed Schouten!
llvm-svn: 68233
|
| |
|
|
|
|
| |
- Patch by Ed Schouten!
llvm-svn: 68121
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Rip out various bits of logic from clang-cc's dependency file gen,
force driver to provide instead.
- -MD output now goes to proper location
<rdar://problem/6723948> clang -MD puts dep file in /tmp with wrong name
- -M and -MM still don't work correctly.
llvm-svn: 68022
|
| |
|
|
|
|
|
| |
unused, and lacking a test case).
- ccc is now on death row, pending some more testing and bug fixes.
llvm-svn: 68012
|
| |
|
|
|
|
| |
(currently unused).
llvm-svn: 68003
|