| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Based on http://llvm-reviews.chandlerc.com/D3043 by Yuri Gribov!
llvm-svn: 205310
|
| |
|
|
|
|
|
|
|
| |
Fallout from r205261, ensure it doesn't matter how we disable compressed
debug info, even if zlib is missing and that we warn when we don't have
zlib and don't warn when we do, all while silently suppressing these
tests on the systems they weren't intended for...
llvm-svn: 205271
|
| |
|
|
|
|
|
| |
Another shot in the dark, since I do have zlib installed. Will be
watching the bots for fallout.
llvm-svn: 205265
|
| |
|
|
| |
llvm-svn: 205220
|
| |
|
|
|
|
|
|
|
|
|
| |
This adds Clang support for the ARM64 backend. There are definitely
still some rough edges, so please bring up any issues you see with
this patch.
As with the LLVM commit though, we think it'll be more useful for
merging with AArch64 from within the tree.
llvm-svn: 205100
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test was failing because clang-cl changes the default triple
to target MSVC-style Win32. This is kind of wonky, but hasn't been
a problem until we started warning:
warning: unknown platform, assuming -mfloat-abi=soft
Some of the tests in cl-options.c were running with -Werror, causing them
to fail.
Fixing this by FileCheck-ifying those tests instead of using -Werror.
llvm-svn: 205049
|
| |
|
|
|
|
| |
This reverts commit r205012.
llvm-svn: 205022
|
| |
|
|
| |
llvm-svn: 205012
|
| |
|
|
|
|
| |
Reviewed at http://llvm-reviews.chandlerc.com/D3096
llvm-svn: 205008
|
| |
|
|
|
|
|
|
|
| |
This follows the LLVM change to canonicalise the Windows target triple
spellings. Rather than treating each Windows environment as a single entity,
the environments are now modelled properly as an environment. This is a
mechanical change to convert the triple use to reflect that change.
llvm-svn: 204978
|
| |
|
|
|
|
| |
Also, while I'm here, support -nocompress-debug-sections too.
llvm-svn: 204959
|
| |
|
|
|
|
| |
Patch by Gabor Ballabas.
llvm-svn: 204807
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
when -Ofast is used without -ffast-math
In gcc using -Ofast forces linking of crtfastmath.o.
In the current clang crtfastmath.o is only linked when -ffast-math/-funsafe-math-optimizations passed. It can lead to performance issues, when using only -Ofast without explicit -ffast-math (I faced with it).
My patch fixes inconsistency with gcc behaviour and also introduces few tests on it.
Patch by Zinovy Nis!
Differential Revision: http://llvm-reviews.chandlerc.com/D3114
llvm-svn: 204742
|
| |
|
|
| |
llvm-svn: 204736
|
| |
|
|
| |
llvm-svn: 204723
|
| |
|
|
|
|
|
|
|
|
| |
the PPC64LE target. Specifically:
(assembler) adds/uses -mppc64 -mlittle-endian
(linker) adds/uses elf64lppc
Testcase included.
llvm-svn: 204626
|
| |
|
|
|
|
|
|
|
|
| |
/Gy is equivalent to -ffunction-sections.
/Gy- is equivalent to -fno-function-sections.
Currently, LLVM doesn't do anything interesting with -ffunction-sections
under WinCOFF.
llvm-svn: 204564
|
| |
|
|
|
|
|
|
| |
/vd2 is not ignored anymore, remove it from the ignored list.
Add a test to ensure that it does the right thing.
llvm-svn: 204563
|
| |
|
|
| |
llvm-svn: 204436
|
| |
|
|
|
|
|
|
|
| |
This change turns -fsanitize-memory-track-origins into
-fsanitize-memory-track-origins=[level] flag (keeping the old one for
compatibility). Possible levels are 0 (off), 1 (default) and 2 (incredibly
detailed). See docs (part of this patch) for more info.
llvm-svn: 204346
|
| |
|
|
|
|
|
|
|
| |
flags.
These flags are deprecated since at least Clang 3.3. Users should instead
use -fsanitize= with appropriate values.
llvm-svn: 204330
|
| |
|
|
| |
llvm-svn: 204138
|
| |
|
|
| |
llvm-svn: 204129
|
| |
|
|
| |
llvm-svn: 203918
|
| |
|
|
|
|
|
|
|
|
|
| |
building one.
This is because the PCH is tied to the module files, if one of the module files changes or gets removed
the build system should re-build the PCH file.
rdar://16321245
llvm-svn: 203885
|
| |
|
|
| |
llvm-svn: 203742
|
| |
|
|
|
|
|
|
| |
When enabled, always validate the system headers when loading a module.
The end result of this is that when these headers change, we will notice
and rebuild the module.
llvm-svn: 203630
|
| |
|
|
| |
llvm-svn: 203603
|
| |
|
|
|
|
|
|
|
|
| |
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: 202721
|
| |
|
|
|
|
| |
Patch by Brad Smith.
llvm-svn: 202462
|
| |
|
|
|
|
|
| |
The backend currently enables CR-bit tracking by default at -O2 and higher.
These flags allow the user to override that default.
llvm-svn: 202453
|
| |
|
|
| |
llvm-svn: 202179
|
| |
|
|
|
|
|
| |
Generating RTTI in the MS ABI is currently not supported, and the failures
are confusing to users, so let's disable it by default for now.
llvm-svn: 202178
|
| |
|
|
|
|
|
| |
-march which doesnt exist on sparc gcc to -mcpu. While here adjust a
few tests to not write an unused temporary file.
llvm-svn: 202177
|
| |
|
|
|
|
|
| |
Reads the description of a virtual filesystem from a file and overlays
it over the real file system.
llvm-svn: 202176
|
| |
|
|
|
|
| |
Partially based on http://llvm-reviews.chandlerc.com/D2644 by Viktor Kutuzov.
llvm-svn: 202150
|
| |
|
|
|
|
| |
r202058 is incompatible to gcc driver.
llvm-svn: 202093
|
| |
|
|
| |
llvm-svn: 202058
|
| |
|
|
|
|
|
|
|
| |
Fix an unintentional stdin read in the darwin-asan-nofortify.c test and replace
it with an explicit test for multiple -E inputs passed to the driver.
Noticed while working on the in-process driver patch.
llvm-svn: 202007
|
| |
|
|
|
|
|
|
| |
The integrated assembler is a feature. This makes the new flags the default
option, and the previous versions aliases. Ideally, at some point the aliases
would be entirely removed.
llvm-svn: 201963
|
| |
|
|
|
|
|
|
|
|
| |
In r199283 I switched the name of this variable to CCC_OVERRIDE_OPTIONS, but
I kept some code to continue recognizing the old name temporarily. As far as
I know, the only use of this was for some internal testing at Apple, and we've
now switched to use the new name. If anyone else is still using this and needs
more time to switch names, I guess we'll find out! <rdar://problem/15821425>
llvm-svn: 201962
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Forward the -no-integrated-as option to -cc1 rather than simply invoking the
appropriate tool. This is useful since this option has been overloaded to
permit disabling of parsing inline assembly at the MC layer.
This re-applies the previous version of the patch with a renaming of the driver
option to the public name rather than the internal name (-target vs -triple).
The actual failure is fixed separately of an overly aggressive negative pattern
match in the MIPS driver tests. It also fixes the incorrect test for targets
that have the integrated assembler disabled by default.
llvm-svn: 201960
|
| |
|
|
|
|
|
|
|
|
| |
The tests attempt to validate the invocation of the assembler program with the
integrated assembler disabled. However, the match pattern for the negative
tests are lax and will match both the driver invocation as well as the assembler
invocation. Make the tests more strict by ensuring that we only match the
assembler invocation.
llvm-svn: 201959
|
| |
|
|
|
|
| |
This seems to break a MIPS test. Revert until I figure out the root cause.
llvm-svn: 201954
|
| |
|
|
|
|
|
|
| |
Forward the -no-integrated-as option to -cc1 rather than simply invoking the
appropriate tool. This is useful since this option has been overloaded to
permit disabling of parsing inline assembly at the MC layer.
llvm-svn: 201952
|
| |
|
|
| |
llvm-svn: 201894
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Added two new options for -mfpu when targetting ARM:
* fpv4-sp-d16
* fp4-sp-d16
The first is the same spelling as gcc.
The lack of a leading `v' is correct, this is consistent with ARM's
documentation and gcc's spelling of the option.
llvm-svn: 201846
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
addProfileRTLinux() to all OS
llvm-svn: 201789
|