summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove the need to cache the subtarget in the R600 TargetRegisterInfoEric Christopher2015-03-1112-66/+64
| | | | | | classes. llvm-svn: 231954
* MS ABI: Mark 'throw' as implemented in the compatibility docDavid Majnemer2015-03-111-2/+2
| | | | llvm-svn: 231953
* MS ABI: Implement copy-ctor closures, finish implementing throwDavid Majnemer2015-03-1114-36/+363
| | | | | | | | | | | | | | | This adds support for copy-constructor closures. These are generated when the C++ runtime has to call a copy-constructor with a particular calling convention or with default arguments substituted in to the call. Because the runtime has no mechanism to call the function with a different calling convention or know-how to evaluate the default arguments at run-time, we create a thunk which will do all the appropriate work and package it in a way the runtime can use. Differential Revision: http://reviews.llvm.org/D8225 llvm-svn: 231952
* Have getRegPressureSetLimit take a MachineFunction so that aEric Christopher2015-03-115-7/+11
| | | | | | we can inspect the subtarget and function when computing values. llvm-svn: 231951
* [modules] When merging the pattern of a class template definition into a priorRichard Smith2015-03-115-0/+33
| | | | | | | | | | definition, be sure to update the definition data on all declarations, not just the canonical one, since the pattern might not be in the list of pending definitions (if it used to be canonical itself). One-line fix by me; reduced testcase by Daniel Jasper! llvm-svn: 231950
* Pass a process full executable path within "name" response field.Oleksiy Vyalov2015-03-111-1/+1
| | | | | | http://reviews.llvm.org/D8239 llvm-svn: 231949
* InstCombine: Don't fold call bitcast into args if callee is byvalDavid Majnemer2015-03-112-1/+19
| | | | | | | This fixes a bug reported here: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150309/265341.html llvm-svn: 231948
* [ASan/Win] Fix a CHECK failure when an exception is thrown from a callback ↵Timur Iskhodzhanov2015-03-112-0/+101
| | | | | | passed to QueueUserWorkItem llvm-svn: 231947
* Updated with list of possible improvements we are tracking internallyKit Barton2015-03-112-0/+40
| | | | llvm-svn: 231946
* Add the "vbroadcasti128" instruction back.Juergen Ributzka2015-03-112-0/+9
| | | | | | | | | | This is a follow-up to r231182. This adds the "vbroadcasti128" instruction back, but without the intrinsic mapping. Also add a test to check the instriction encoding. This is related to rdar://problem/18742778. llvm-svn: 231945
* Reverted OpenCL2.0 atomic type commits r231932, r231935Anastasia Stulova2015-03-118-146/+6
| | | | | | (caused undesirable update of -std flag to use _Atomic) llvm-svn: 231942
* [clang-tidy] Static Analyzer checker configuration options pass-through.Gabor Horvath2015-03-112-0/+31
| | | | | | | | Reviewed by: Alexander Kornienko Differential Revision: http://reviews.llvm.org/D8164 llvm-svn: 231941
* Fix ctype_byname<wchar_t>::do_is() mask checking.... againJonathan Roelofs2015-03-113-30/+95
| | | | | | | | | This basically reverts the revert in r216508, and fixes a few more cases while I'm at it. Reading my commit message on that commit again, I think it's bupkis. http://reviews.llvm.org/D8237 llvm-svn: 231940
* revert r231700 (designated initializer patch) which brokeFariborz Jahanian2015-03-116-62/+10
| | | | | | several projects. rdar://20120666. llvm-svn: 231939
* [clang-tidy] Clean up misc-use-override warning. NFCAlexander Kornienko2015-03-111-1/+1
| | | | llvm-svn: 231938
* Disable cat*() on CloudABI. Also make tiny cleanups.Ed Schouten2015-03-112-11/+17
| | | | | | | | | | | | | | | | On a new platform that I am working on (https://github.com/NuxiNL/cloudlibc) I am not implementing the cat{open,close,gets}() API, just like Android, Newlib, etc. Instead of adding yet another operating system name to the #ifs, introduce _LIBCPP_HAS_CATOPEN in include/__config. Also adjust the code to only pull in nl_types.h when _LIBCPP_HAS_CATOPEN is set. We only needed this header for the cat*() API. Differential Revision: http://reviews.llvm.org/D8163 Reviewed by: marshall llvm-svn: 231937
* Add a CODE_OWNERS.txt file to LLDB.Zachary Turner2015-03-111-0/+54
| | | | llvm-svn: 231936
* OpenCL: CL2.0 atomic type diagnosticsAnastasia Stulova2015-03-113-0/+37
| | | | | | Added restictions for atomic type usage from OpenCL C Spec Section 6.13.11.8 llvm-svn: 231935
* Make NaCl's use of .init_array for static constructors match LinuxDerek Schuff2015-03-114-6/+15
| | | | | | | | | | | | 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
* Wrap in __MINGW32__ to avoid warnings from msvc.Benjamin Kramer2015-03-111-1/+3
| | | | llvm-svn: 231933
* OpenCL: CL2.0 atomic typesAnastasia Stulova2015-03-117-6/+109
| | | | | | | | | | | | 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
* Add builtins for the 64-bit vector integer arithmetic instructions added in ↵Kit Barton2015-03-118-18/+1416
| | | | | | | | | | POWER8. 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
* Add missing namespace specifier for MSVC.Benjamin Kramer2015-03-111-1/+1
| | | | llvm-svn: 231930
* RtlCaptureContext is absent from the mingw32 headers, provide a prototype.Benjamin Kramer2015-03-111-1/+4
| | | | llvm-svn: 231929
* LinkerScript: Add parsing of the MEMORY commandMeador Inge2015-03-118-0/+370
| | | | | | | | | | | 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
* Inliner should not add callgraph edges for intrinsic calls (PR22857)Sanjay Patel2015-03-112-1/+38
| | | | | | | | | | | | 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
* clang-format: Recognize the .ts (TypeScript) extension as JavaScript.Daniel Jasper2015-03-112-2/+3
| | | | | | Patch by Martin Probst. Thank you. llvm-svn: 231926
* Revert "[CMake] Don't pass in MSVC warning flags as definitions"Greg Bedwell2015-03-111-11/+4
| | | | | | | reverting while I investigate why it broke the sanitizer-windows build. This reverts commit r231924. llvm-svn: 231925
* [CMake] Don't pass in MSVC warning flags as definitionsGreg Bedwell2015-03-111-4/+11
| | | | | | | | | | | 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
* Prefer pipes over temporary files in a feeble attempt to stabilize this test ↵Benjamin Kramer2015-03-111-3/+2
| | | | | | on windows. llvm-svn: 231923
* Refactor GdbRemote test cases to support remote platformsTamas Berghammer2015-03-117-118/+164
| | | | | | | | | | | 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
* Fix too short title underline reported by build-bot.Dan Liew2015-03-111-1/+1
| | | | llvm-svn: 231921
* clang-format: Fix incorrect && recognition.Daniel Jasper2015-03-112-0/+3
| | | | | | | | | | Before: if (a &&(b = c)) .. After: if (a && (b = c)) .. llvm-svn: 231920
* Relax CHECK to match mips syntax.Rafael Espindola2015-03-112-2/+59
| | | | llvm-svn: 231919
* Move MiInterpreterExecTestCase to test/tools/lldb-mi/interpreter folder (MI)Ilia K2015-03-113-0/+26
| | | | llvm-svn: 231918
* Fix build on Windows (PATH_MAX was undefined) after r231858Ilia K2015-03-111-1/+2
| | | | llvm-svn: 231917
* AVX-512: Added SKX forms of shift instructions.Elena Demikhovsky2015-03-115-39/+2266
| | | | | | | Added rotation instructions, encoding only. Added encoding tests for all these forms. llvm-svn: 231916
* Fix bug in ProcessGDBRemotePavel Labath2015-03-111-1/+1
| | | | | | | | | | | | | | | 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
* Enable security checks for arc4random() on CloudABI as well.Ed Schouten2015-03-112-0/+5
| | | | | | | CloudABI also supports the arc4random() function. We can enable compiler warnings for rand(), random() and *rand48() on this system as well. llvm-svn: 231914
* Fix up default header paths for CloudABI.Ed Schouten2015-03-111-1/+16
| | | | | | | | | | | 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
* Add target information for CloudABI on x86-64.Ed Schouten2015-03-112-0/+329
| | | | | | | | | | | 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
* Now that r231902's test is executed, make it actually passJustin Bogner2015-03-112-2/+2
| | | | | | | | 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
* Fix another verifier crash where a GC intrinsic would look at the internals ↵Owen Anderson2015-03-112-0/+24
| | | | | | | | | | | 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
* Sema: Properly track mangling number/name for linkage for using declsDavid Majnemer2015-03-115-53/+101
| | | | | | | | | | | | 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
* Make test added in r231902 actually be executed.Daniel Jasper2015-03-112-3/+3
| | | | | | | | | 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
* Prevent test from accessing files.Daniel Jasper2015-03-111-3/+3
| | | | llvm-svn: 231907
* Garbage collect an unused class in Atoms.hDavide Italiano2015-03-111-30/+0
| | | | | | | | | | 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
* [OPENMP] Fix for ExprWithCleanups in 'omp atomic' constructs.Alexey Bataev2015-03-113-3/+42
| | | | | | | 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
* Don't print labels that on ELF are never used.Rafael Espindola2015-03-113-18/+14
| | | | llvm-svn: 231904
* CGOpenMPRuntime.h: Fix an incorrect \param on emitTaskOutlinedFunction(). ↵NAKAMURA Takumi2015-03-111-1/+1
| | | | | | [-Wdocumentation] llvm-svn: 231903
OpenPOWER on IntegriCloud