| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 212026
|
| |
|
|
| |
llvm-svn: 212025
|
| |
|
|
| |
llvm-svn: 212024
|
| |
|
|
|
|
| |
No functional changes.
llvm-svn: 212023
|
| |
|
|
|
|
| |
No functional changes.
llvm-svn: 212022
|
| |
|
|
| |
llvm-svn: 212018
|
| |
|
|
| |
llvm-svn: 212016
|
| |
|
|
| |
llvm-svn: 212014
|
| |
|
|
| |
llvm-svn: 212013
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D4067
llvm-svn: 212010
|
| |
|
|
|
|
|
| |
Move test from CodeGen to Sema to more accurately reflect what is being tested
as pointed out by Alp.
llvm-svn: 212009
|
| |
|
|
|
|
|
|
|
| |
These don't actually require any registered backend to run.
This commit tests the water with a handful of fixes for what is a more
widespread problem.
llvm-svn: 212008
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add sign checks to deal with the fact that IR parser line/column pairs are
signed integers and sometimes invalid.
The crash path is potentially triggered by corrupt '.bc' files in practice,
though I don't have a binary input test case that can be checked-in right now.
(Unfortunately the backend itself crashes on various ill-formed '.bc' inputs so
this bandage isn't as helpful as it appears yet.)
llvm-svn: 212007
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
We'll want to share the implementation if anything else decides to check
for reserved names in future, so make this little snippet of code more
discoverable.
Also remove the __va_list_tag and __builtin_va_list special-case
checks. They're leftovers from before when the reserved name logic was
added.
No change in functionality.
llvm-svn: 212006
|
| |
|
|
|
|
|
|
|
| |
Windows on ARM defines va_list as a typedef for char *. Although the semantics
of argument passing for variadic functions matches AAPCS VFP, the wrapped
struct __va_list type is unused. This makes the intrinsic definition for
va_list match that of Visual Studio.
llvm-svn: 212004
|
| |
|
|
| |
llvm-svn: 212003
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: klimek, djasper
Reviewed By: djasper
Subscribers: klimek, aemerson, cfe-commits
Differential Revision: http://reviews.llvm.org/D4327
llvm-svn: 212001
|
| |
|
|
|
|
| |
and Clang drivers but internally LLVM/Clang use the name "n64".
llvm-svn: 211999
|
| |
|
|
|
|
|
|
|
|
|
| |
Generic_GCC toolchain". It broke users of Generic_GCC, cygwin and mingw32.
It reverts commits as follows:
r211866: "Driver: use GNU::Link for the Generic_GCC toolchain"
r211895: "Replace GetProgramPath("ld") with GetLinkerPath()."
r211995: "Driver: add a cygwin linker tool"
llvm-svn: 211998
|
| |
|
|
| |
llvm-svn: 211997
|
| |
|
|
|
|
| |
for now.
llvm-svn: 211996
|
| |
|
|
|
|
|
|
|
| |
This adds a linker tool for the Windows cygwin environment. This linker
invocation is significantly different from the generic ld invocation. It
requires additional parameters as well as does not accept some normal
parameters. This should fix self-hosting on Cygwin.
llvm-svn: 211995
|
| |
|
|
|
|
|
|
| |
Some time ago, I noticed that try would get resolved incorrectly for Windows
Itanium targets. Add an explicit test to exsure that exceptions are handled
correctly for Windows Itanium environments.
llvm-svn: 211992
|
| |
|
|
|
|
|
| |
This corrects the handling for i686-windows-itanium. This environment is nearly
identical to Windows MSVC, except it uses the itanium ABI for C++.
llvm-svn: 211991
|
| |
|
|
|
|
| |
Remove unnecessary separation of anonymous namespace. NFC.
llvm-svn: 211990
|
| |
|
|
|
|
|
| |
trigger on taking the address of a reference that is returned from a function
call.
llvm-svn: 211989
|
| |
|
|
| |
llvm-svn: 211988
|
| |
|
|
| |
llvm-svn: 211987
|
| |
|
|
|
|
| |
No functional changes.
llvm-svn: 211984
|
| |
|
|
|
|
| |
No functional changes.
llvm-svn: 211983
|
| |
|
|
|
|
| |
No functional changes.
llvm-svn: 211982
|
| |
|
|
| |
llvm-svn: 211979
|
| |
|
|
|
|
|
|
|
|
| |
Reviewers: rtrieu
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D4325
llvm-svn: 211972
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: This patch introduces ACLE header file, implementing extensions that can be directly mapped to existing Clang intrinsics. It implements for both AArch32 and AArch64.
Reviewers: t.p.northover, compnerd, rengolin
Reviewed By: compnerd, rengolin
Subscribers: rnk, echristo, compnerd, aemerson, mroth, cfe-commits
Differential Revision: http://reviews.llvm.org/D4296
llvm-svn: 211962
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes a const_cast added in r211884 that occurred due to an
inconsistency in how MemoryBuffers are handled between some parts of
clang and LLVM.
MemoryBuffers are immutable and the general convention in the LLVM
project is to omit const from immutable types as it's simply
redundant/verbose (see llvm::Type, for example). While this change
doesn't remove "const" from /every/ MemoryBuffer, it at least makes this
chain of ownership/usage consistent.
llvm-svn: 211915
|
| |
|
|
|
|
| |
Adapted from a reproducer by Dan Schmidt, thanks!
llvm-svn: 211910
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This isn't 100% compatible with MSVC, but it's close enough. MSVC's /EH
flag doesn't really control exceptions so much as how to clean up after
an exception is thrown. The upshot is that cl.exe /EHs- will compile
try, throw, and catch statements with a warning, but clang-cl will
reject such constructs with a hard error. We can't compile such EH
constructs anyway, but this may matter to consumers of the AST.
Reviewers: hans
Differential Revision: http://reviews.llvm.org/D4317
llvm-svn: 211909
|
| |
|
|
|
|
| |
The description had a misspelling. No functionality change.
llvm-svn: 211908
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
error handler is only registered once.
To avoid the use of std::call_once (the obvious way to do this) I've
wrapped everything up into a managed static and done the work in
a constructor. Silly, but it should be effective.
Some out-of-tree libclang users reported this to me, and I've asked them
to put together a test case which exhibits this behavior, but I wanted
to fix things ASAP since the nature of the fix is straight forward.
llvm-svn: 211905
|
| |
|
|
|
|
|
|
|
| |
selection re-enabled in r211900 in LLVM.
The approach (unlike r211121) doesn't rely on std::mutex or
std::call_once to avoid breaknig cygwin bots.
llvm-svn: 211901
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a fix to the code in clang which inserts padding arguments to
ensure that the ARM backend can emit AAPCS-VFP compliant code. This code
needs to track the number of registers which have been allocated in order
to do this. When passing a very large struct (>64 bytes) by value, clang
emits IR which takes a pointer to the struct, but the backend converts this
back to passing the struct in registers and on the stack. The bug was that
this was being considered by clang to only use one register, meaning that
there were situations in which padding arguments were incorrectly emitted
by clang.
llvm-svn: 211898
|
| |
|
|
| |
llvm-svn: 211895
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The NEON intrinsics in arm_neon.h are designed to work on vectors
"as-if" loaded by (V)LDR. We load vectors "as-if" (V)LD1, so the
intrinsics are currently incorrect.
This patch adds big-endian versions of the intrinsics that does the
"obvious but dumb" thing of reversing all vector inputs and all
vector outputs. This will produce extra REVs, but we trust the
optimizer to remove them.
llvm-svn: 211893
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: This unbreaks our internal build after these tests were turned on in r211738.
Reviewers: chandlerc
Reviewed By: chandlerc
Subscribers: benlangmuir, cfe-commits
Differential Revision: http://reviews.llvm.org/D4311
llvm-svn: 211887
|
| |
|
|
| |
llvm-svn: 211886
|
| |
|
|
| |
llvm-svn: 211884
|
| |
|
|
|
|
|
|
| |
When we create a crashdump involving modules, we build a VFS to
reproduce the problem with. This updates the reproduction script to
use that VFS.
llvm-svn: 211876
|
| |
|
|
|
|
|
| |
This function is copying the entire file contents into memory repeatedly and
allocating new file IDs *each time* a source location is processed.
llvm-svn: 211874
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the behaviour of the driver for linking to match that of the
Generic_GCC::Assemble. The default link should use "ld" rather than "gcc" for
the linker as gcc does. This avoids the unnecessary round-tripping through gcc.
It also is much more reasonable behaviour from the user's perspective. This
should have been updated with SVN r195554 which changed the behaviour of
Generic_GCC::Assemble.
The gcc_forward test needs to be updated to mark the fact that -march is a flag
for GCC not ld. This was updated as a typo fix, but added a check for a flag
that is not a link flag.
The bindings test covers the change for testing, and thus no new test was added.
llvm-svn: 211866
|
| |
|
|
|
|
| |
Requires supporting changes from LLVM r211861.
llvm-svn: 211862
|