| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
Another shot in the dark, since I do have zlib installed. Will be
watching the bots for fallout.
llvm-svn: 205265
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
This function allows certain platforms to enable or disable diagnostics
by default.
llvm-svn: 205095
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-u behaviour is apparently not portable between linkers (see cfe-commits
discussions for r204379 and r205012). I've moved the logic to IRGen,
where it should have been in the first place.
I don't have a Linux system to test this on, so it's possible this logic
*still* doesn't pull in the instrumented profiling runtime on Linux.
I'm in the process of getting tests going on the compiler-rt side
(llvm-commits "[PATCH] InstrProf: Add initial compiler-rt test"). Once
we have tests for the full flow there, the runtime logic should get a
whole lot less brittle.
<rdar://problem/16458307>
llvm-svn: 205023
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
r204379 changed the way the profile runtime gets pulled in, but missed
updating non-Darwin targets.
llvm-svn: 204939
|
| |
|
|
|
|
| |
Review feedback from Reid Kleckner on r203603.
llvm-svn: 204755
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
flags.
These flags are deprecated since at least Clang 3.3. Users should instead
use -fsanitize= with appropriate values.
llvm-svn: 204330
|
| |
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 203212
|
| |
|
|
|
|
|
| |
Use the new getObjectFormat/setObjectFormat instead of Environment now that the
file format is a separate field.
llvm-svn: 203161
|
| |
|
|
| |
llvm-svn: 203081
|
| |
|
|
|
|
| |
Copying isn't cheap as it contains a std::string.
llvm-svn: 202880
|
| |
|
|
|
|
|
|
|
|
| |
a user workspace build.
This is used to avoid conflicts with user modules with the same name from different workspaces.
rdar://16042513
llvm-svn: 202683
|
| |
|
|
|
|
| |
Patch by Brad Smith.
llvm-svn: 202462
|
| |
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 202151
|
| |
|
|
|
|
| |
Partially based on http://llvm-reviews.chandlerc.com/D2644 by Viktor Kutuzov.
llvm-svn: 202150
|
| |
|
|
|
|
| |
less OS-specific
llvm-svn: 202148
|
| |
|
|
| |
llvm-svn: 202058
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
addProfileRTLinux() to all OS
llvm-svn: 201789
|
| |
|
|
| |
llvm-svn: 201730
|
| |
|
|
| |
llvm-svn: 201728
|
| |
|
|
|
|
| |
netbsd::Assemble::ConstructJob.
llvm-svn: 201725
|
| |
|
|
|
|
|
| |
Clang itself only emits CodeView line tables, so it seems more
consistent to ask cl.exe for the same format.
llvm-svn: 201721
|
| |
|
|
| |
llvm-svn: 201719
|
| |
|
|
|
|
| |
Patch by Andrew Turner.
llvm-svn: 201662
|
| |
|
|
|
|
|
|
|
| |
I'm holding this change to give maintainers of Darwin buildbots more time
to update their toolchains.
This reverts commit r201375.
llvm-svn: 201520
|
| |
|
|
| |
llvm-svn: 201391
|