- Jun 11, 2014
-
-
Rafael Espindola authored
llvm-svn: 210629
-
Matt Arsenault authored
llvm-svn: 210628
-
Matt Arsenault authored
Extract these from some of my other patches, since this is the only thing really making them dependent on each other. llvm-svn: 210627
-
Rafael Espindola authored
There is no std::_do_message and these classes override message anyway. llvm-svn: 210626
-
Kevin Qin authored
For ARM target, we can use CRYPTO and CRC features if we select cortex-a57 by '-mcpu', but for AArch64 target, it doesn't work unless adding with '-mfpu=crypto-neon-fp-armv8'. To keep consistency between front-end and back-end and get end-users more easier to use, we'd better add default feature for CPUs on AArch64 target as well. llvm-svn: 210625
-
Nick Kledzik authored
The previous commit uncovered a bug in the mach-o writer whereby two __text sections were created. But the test case did not catch that. So I updated the test case to run the linker a second time, reading the output of the first pass. llvm-svn: 210624
-
Rafael Espindola authored
llvm-svn: 210623
-
Saleem Abdulrasool authored
DwarfException served as a base class for exception handling directive emission. However, this is also used by other exception models (e.g. Win64EH). Rename this class to EHStreamer and split it out of DwarfException.h. NFC. Use the opportunity to fix up some of the documentation comments to match current LLVM style. Also rename some functions to conform better with current LLVM coding style. llvm-svn: 210622
-
Rui Ueyama authored
llvm-svn: 210621
-
Rafael Espindola authored
llvm-svn: 210620
-
Eric Christopher authored
it's already on the subtarget. llvm-svn: 210619
-
David Blaikie authored
llvm-svn: 210618
-
Richard Smith authored
llvm-svn: 210617
-
Eric Christopher authored
so that we can use initializer lists for the AArch64 Subtarget. llvm-svn: 210616
-
Richard Smith authored
llvm-svn: 210615
-
Eric Christopher authored
so that we can use initializer lists for the X86Subtarget. llvm-svn: 210614
-
Eric Christopher authored
llvm-svn: 210613
-
Nick Kledzik authored
llvm-svn: 210612
-
Reid Kleckner authored
We currently allow unqualified lookup for instance methods but not static methods because we can't recover with a semantic 'this->' insertion. ATL headers have static methods that do unqualified lookup into dependent base classes. The pattern looks like: template <typename T> struct Foo : T { static int *getBarFromT() { return Bar; } }; Now we recover as if the user had written: template <typename T> struct Foo : T { static int *getBarFromT() { return Foo::Bar; } }; ... which will eventually look up Bar in T at instantiation time. Now we emit a diagnostic in both cases, and delay lookup in other contexts where 'this' is available and refers to a class with dependent bases. Reviewed by: rsmith Differential Revision: http://reviews.llvm.org/D4079 llvm-svn: 210611 -
Juergen Ributzka authored
llvm-svn: 210610
-
Richard Smith authored
preferred-alignment transformations. Corrects alignof(T[]) to return alignof(T) in all cases, as required by relevant standards. llvm-svn: 210609
-
Richard Smith authored
expression of array-of-unknown-bound type, don't try to complete the array bound, and return the alignment of the element type rather than 1. llvm-svn: 210608
-
Reid Kleckner authored
While matching a non-type template argument against a known template type parameter we now modify the AST's TemplateArgumentLoc to assume the user wrote typename. Under -fms-compatibility, we downgrade our diagnostic from an error to an extwarn. Reviewed by: rsmith Differential Revision: http://reviews.llvm.org/D4049 llvm-svn: 210607
-
Eric Christopher authored
llvm-svn: 210606
-
Eric Christopher authored
This currently necessitates a TargetMachine for the TargetLowering constructor and TLOF. llvm-svn: 210605
-
Zachary Turner authored
This reverts r210601. llvm-svn: 210604
-
Zachary Turner authored
This reverts revision r210600. llvm-svn: 210603
-
Todd Fiala authored
Initial check-in provided a nibble count instead of byte count for the memory to write. Fixed that. Enhanced test to check for overwrite past the expected range of writing to verify the correct amount is written. llvm-svn: 210602
-
Zachary Turner authored
support (llvm revision r210600). Reviewers: rnk Differential Revision: http://reviews.llvm.org/D4077 llvm-svn: 210601
-
Zachary Turner authored
This patch removes the functions llvm_start_multithreaded() and llvm_stop_multithreaded(), and changes llvm_is_multithreaded() to return a constant value based on the value of the compile-time definition LLVM_ENABLE_THREADS. Previously, it was possible to have compile-time support for threads on, and runtime support for threads off, in which case certain mutexes were not allocated or ever acquired. Now, if the build is created with threads enabled, mutexes are always acquired. A test before/after patch of compiling a very large TU showed no noticeable performance impact of this change. Reviewers: rnk Differential Revision: http://reviews.llvm.org/D4076 llvm-svn: 210600
-
Eric Christopher authored
llvm-svn: 210599
-
Eric Christopher authored
llvm-svn: 210598
-
Hans Wennborg authored
It would previously say things like warning: input 'test/Frontend/foo.c' contained no tests and have the user pull their hair trying to figure out what's wrong with that file. This patch changes the message to the much clearer: warning: no such file or directory: 'test/Frontend/foo.c' Differential Revision: http://reviews.llvm.org/D4097 llvm-svn: 210597
-
Eric Christopher authored
llvm-svn: 210596
-
Eric Christopher authored
using the subtarget. llvm-svn: 210595
-
Todd Fiala authored
llvm-svn: 210594
-
Reid Kleckner authored
r210369 didn't quite catch all of them. llvm-svn: 210593
-
Ed Maste authored
We preivously had two copies of ::BytesAvailable with only trivial differences between them, and fixes have been applied to only one of them. Instead of duplicating the whole function, hide the FD_SET differences behind a macro. This leaves only one small __APPLE__-specific #if block, and fixes ^C on non-__APPLE__ platforms. llvm-svn: 210592
-
Rafael Espindola authored
This reduces the difference between std::error_code and llvm::error_code. llvm-svn: 210591
-
Rafael Espindola authored
llvm-svn: 210590
-