- Mar 11, 2015
-
-
Zachary Turner authored
llvm-svn: 231936
-
Anastasia Stulova authored
Added restictions for atomic type usage from OpenCL C Spec Section 6.13.11.8 llvm-svn: 231935
-
Derek Schuff authored
Summary: The generic ELF TargetObjectFile defaults to .ctors, but Linux's defaults to .init_array by calling InitializeELF with the value of UseInitArray from TargetMachine. Make NaCl's behavior match. Reviewers: jvoung Differential Revision: http://reviews.llvm.org/D8240 llvm-svn: 231934
-
Benjamin Kramer authored
llvm-svn: 231933
-
Anastasia Stulova authored
OpenCL C Spec v2.0 Section 6.13.11 - Made c11 _Atomic being accepted only for c11 compilations - Implemented CL2.0 atomics by aliasing them to the corresponding c11 atomic types using implicit typedef - Added diagnostics for atomics Khronos extension enabling llvm-svn: 231932
-
Kit Barton authored
These are the Clang-related changes for the instructions added to LLVM in http://reviews.llvm.org/D7959. Phabricator review: http://reviews.llvm.org/D8041 llvm-svn: 231931
-
Benjamin Kramer authored
llvm-svn: 231930
-
Benjamin Kramer authored
llvm-svn: 231929
-
Meador Inge authored
This patch implements parsing of the GNU ld MEMORY command [1]. The command and the memory block definitions are parsed as specified (including the slightly strange "o" and "l" keywords). Evaluation will be added at a later point in time. [1] https://sourceware.org/binutils/docs-2.25/ld/MEMORY.html llvm-svn: 231928
-
Sanjay Patel authored
The CallGraphNode function "addCalledFunction()" asserts that edges are not to intrinsics. This patch makes sure that the Inliner does not add such an edge to the callgraph. Fix for clang crash by assertion: https://llvm.org/bugs/show_bug.cgi?id=22857 Differential Revision: http://reviews.llvm.org/D8231 llvm-svn: 231927
-
Daniel Jasper authored
Patch by Martin Probst. Thank you. llvm-svn: 231926
-
Greg Bedwell authored
reverting while I investigate why it broke the sanitizer-windows build. This reverts commit r231924. llvm-svn: 231925
-
Greg Bedwell authored
NFC currently but required as a prerequisite for using the Microsoft resource compiler in conjunction with CMake's ninja generator, which knows how to filter flags appropriately, but not definitions. Differential Revision: http://reviews.llvm.org/D8188 llvm-svn: 231924
-
Benjamin Kramer authored
llvm-svn: 231923
-
Tamas Berghammer authored
Previously these test cases execute lldb-server on the host and run the tests against it even if a remote platform was specified. With this CL these tests always test the communication with an lldb-server instance running on the target. Differential revision: http://reviews.llvm.org/D8202 llvm-svn: 231922
-
Dan Liew authored
llvm-svn: 231921
-
Daniel Jasper authored
Before: if (a &&(b = c)) .. After: if (a && (b = c)) .. llvm-svn: 231920
-
Rafael Espindola authored
llvm-svn: 231919
-
Ilia K authored
llvm-svn: 231918
-
Ilia K authored
llvm-svn: 231917
-
Elena Demikhovsky authored
Added rotation instructions, encoding only. Added encoding tests for all these forms. llvm-svn: 231916
-
Pavel Labath authored
Summary: ProcessGDBRemote::AsyncThread nuked its own thread handle upon exiting. This prevented the main thread from joining it correctly in StopAsyncThread. I address this by moving the Reset() call to StopAsyncThread, after the join. Reviewers: clayborg, zturner Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D8218 llvm-svn: 231915
-
Ed Schouten authored
CloudABI also supports the arc4random() function. We can enable compiler warnings for rand(), random() and *rand48() on this system as well. llvm-svn: 231914
-
Ed Schouten authored
CloudABI is a pure cross compilation target. This means that we should not add /usr/include and /usr/local/include. Instead, headers are stored in $sysroot/$triple/include. The method of going back to the sysroot (by using "../../..") is also used in this function for some of the other environments (e.g., MinGW). llvm-svn: 231913
-
Ed Schouten authored
CloudABI can be identified by the __CloudABI__ preprocessor definition. The system uses ELF executables. CloudABI uses Unicode 7.0.0 for the encoding of wchar_t. As Unicode 7.0.0 is synchronized with ISO/IEC 10646:2012 (released on 2012-06-01), __STDC_ISO_10646__ is defined as 201206L. llvm-svn: 231912
-
Justin Bogner authored
As of r231908, the test I added in r231902 actually gets run - but I'd checked in a stale version of the input so it didn't pass. Fix the input and un-xfail the test. llvm-svn: 231911
-
Owen Anderson authored
Fix another verifier crash where a GC intrinsic would look at the internals of another intrinsic in order to verify itself. This causes a crash if the referenced intrinsic was malformed. In this case, we would already have reported an error on the referenced intrinsic, but then crashed on the second one when it tried to introspect the first without error checking. llvm-svn: 231910
-
David Majnemer authored
Using declarations which are aliases to struct types have their name used as the struct type's name for linkage purposes. Otherwise, make sure to give an anonymous struct defined inside a using declaration a mangling number to disambiguate it from other anonymous structs in the same context. This fixes PR22809. llvm-svn: 231909
-
Daniel Jasper authored
There were also errors in the CHECK line which I fixed and the test doesn't actually pass as the "100" is in the wrong line. Not sure whether this is a test failure or a coverage failure so making the test XFAIL for now. llvm-svn: 231908
-
Daniel Jasper authored
llvm-svn: 231907
-
Davide Italiano authored
This will be replaced by a more generic class to handle all the default symbols in an executable, e.g. __init_array. Differential Revision: http://reviews.llvm.org/D8234 Reviewed by: shankare llvm-svn: 231906
-
Alexey Bataev authored
This patch allows using of ExprWithCleanups expressions and other complex expressions in 'omp atomic' construct Differential Revision: http://reviews.llvm.org/D8200 llvm-svn: 231905
-
Rafael Espindola authored
llvm-svn: 231904
-
NAKAMURA Takumi authored
llvm-svn: 231903
-
Justin Bogner authored
llvm-svn: 231902
-
Richard Smith authored
all the existing declarations of a record-like entity with a pointer to its definition. llvm-svn: 231901
-
Richard Smith authored
llvm-svn: 231900
-
Rafael Espindola authored
Should fix the cygwin bots. I added a cygwin specific test that would have caught this on Linux. llvm-svn: 231899
-
Rafael Espindola authored
This is less brittle and avoids polluting the start of the file with every debug section. llvm-svn: 231898
-
Dan Albert authored
llvm-svn: 231897
-