summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* R600/SI: Expand vector fp <-> int conversionsTom Stellard2013-07-306-40/+40
| | | | llvm-svn: 187421
* err_attribute_missing_parameter_name has been replaced by ↵Aaron Ballman2013-07-303-5/+4
| | | | | | err_attribute_argument_type. llvm-svn: 187420
* Replacing err_attribute_argument_not_int with err_attribute_not_type_attrAaron Ballman2013-07-309-34/+41
| | | | llvm-svn: 187419
* tests: process connect needs "-p gdb-remote" on FreeBSD as on LinuxEd Maste2013-07-301-1/+1
| | | | llvm-svn: 187418
* [sanitizer] Tweak read syscall handler signature for consistency.Evgeniy Stepanov2013-07-302-4/+4
| | | | llvm-svn: 187417
* tests: Mark expected FreeBSD failures due to pr14424Ed Maste2013-07-301-0/+5
| | | | | | | These tests fail on FreeBSD due to missing build support, the same reason they fail on Linux. llvm-svn: 187416
* tests: Mark expected FreeBSD failures due to pr16697Ed Maste2013-07-308-1/+9
| | | | llvm-svn: 187415
* [sanitizer] read() syscall hook.Evgeniy Stepanov2013-07-303-2/+16
| | | | llvm-svn: 187414
* [msan] Intercept pthread_join.Evgeniy Stepanov2013-07-302-2/+10
| | | | llvm-svn: 187413
* [msan] Intercept confstr.Evgeniy Stepanov2013-07-305-1/+35
| | | | llvm-svn: 187412
* [asan] Limit fake stack size to a reasonable value when running with ↵Evgeniy Stepanov2013-07-301-1/+4
| | | | | | unlimited stack. llvm-svn: 187411
* This patch implements parsing of mips FCC register operands. The example ↵Vladimir Medic2013-07-305-14/+72
| | | | | | instructions have been added to test files. llvm-svn: 187410
* Add MicrosoftVFTableContext to ASTTimur Iskhodzhanov2013-07-309-67/+2001
| | | | llvm-svn: 187409
* [asan] Raise thread stack size limit.Evgeniy Stepanov2013-07-301-2/+2
| | | | | | It's a sanity check, mostly, and we've seen threads with >256Mb stack. llvm-svn: 187408
* [sanitizer] Disable ForEachMappedRegion on Android.Evgeniy Stepanov2013-07-301-0/+2
| | | | | | It needs interface that is missing from the NDK, and it is not used on Android anyway. llvm-svn: 187407
* Fix underscore to be the proper length.Bill Wendling2013-07-301-1/+1
| | | | llvm-svn: 187406
* clang/test/Driver/qa_override.c: Resurrect a part of r187376. It still ↵NAKAMURA Takumi2013-07-301-0/+3
| | | | | | requires the feature 'clang-driver' for cygming. llvm-svn: 187405
* [ARM] check bitwidth in PerformORCombineSaleem Abdulrasool2013-07-302-14/+53
| | | | | | | | | | | | | When simplifying a (or (and B A) (and C ~A)) to a (VBSL A B C) ensure that the bitwidth of the second operands to both ands match before comparing the negation of the values. Split the check of the value of the second operands to the ands. Move the cast and variable declaration slightly higher to make it slightly easier to follow. Bug-Id: 16700 Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 187404
* Remove more dead documentation.Rafael Espindola2013-07-301-11/+10
| | | | llvm-svn: 187403
* [Sparc] Use call's debugloc for the unimp instruction.Venkatraman Govindaraju2013-07-301-1/+1
| | | | llvm-svn: 187402
* Added the notion of Type and TargetSpecific attributes to the clang ↵Aaron Ballman2013-07-302-78/+94
| | | | | | tablegen. In turn, this fixes a mistake with Ptr32, Ptr64, UPtr and SPtr attribtues generating AST nodes that are never actually used. llvm-svn: 187401
* err_attribute_not_string has been subsumed by err_attribute_argument_type.Aaron Ballman2013-07-3012-72/+76
| | | | llvm-svn: 187400
* [PowerPC] Skeletal FastISel support for 64-bit PowerPC ELF.Bill Schmidt2013-07-305-1/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first of many upcoming patches for PowerPC fast instruction selection support. This patch implements the minimum necessary for a functional (but extremely limited) FastISel pass. It allows the table-generated portions of the selector to be created and used, but in most cases selection will fall back to the DAG selector. None of the block terminator instructions are implemented yet, and most interesting instructions require some special handling. Therefore there aren't any new test cases with this patch. There will be quite a few tests coming with future patches. This patch adds the make/CMake support for the new code (including tablegen -gen-fast-isel) and creates the FastISel object for PPC64 ELF only. It instantiates the necessary virtual functions (TargetSelectInstruction, TargetMaterializeConstant, TargetMaterializeAlloca, tryToFoldLoadIntoMI, and FastLowerArguments), but of these, only TargetMaterializeConstant contains any useful implementation. This is present since the table-generated code requires the ability to materialize integer constants for some instructions. This patch has been tested by building and running the projects/test-suite code with -O0. All tests passed with the exception of a couple of long-running tests that time out using -O0 code generation. llvm-svn: 187399
* Refactor some attributes to use checkFunctionOrMethodArgumentIndex instead ↵Aaron Ballman2013-07-304-160/+50
| | | | | | of using custom logic. No functional changes intended. llvm-svn: 187398
* [R600] Replicate old DAGCombiner behavior in target specific DAG combine.Quentin Colombet2013-07-302-1/+56
| | | | | | | build_vector is lowered to REG_SEQUENCE, which is something the register allocator does a good job at optimizing. llvm-svn: 187397
* [DAGCombiner] insert_vector_elt: Avoid building a vector twice.Quentin Colombet2013-07-308-27/+56
| | | | | | | | | | | | | | | | This patch prevents the following combine when the input vector is used more than once. insert_vector_elt (build_vector elt0, ..., eltN), NewEltIdx, idx => build_vector elt0, ..., NewEltIdx, ..., eltN The reasons are: - Building a vector may be expensive, so try to reuse the existing part of a vector instead of creating a new one (think big vectors). - elt0 to eltN now have two users instead of one. This may prevent some other optimizations. llvm-svn: 187396
* <rdar://problem/14526890>Greg Clayton2013-07-303-1/+207
| | | | | | Fixed a crasher when using memory threads where a thread is sticking around too long and was causing problems when it didn't have a thread plan. llvm-svn: 187395
* Move file to X86 and add a triple to fix darwin bots for now.Eric Christopher2013-07-301-1/+1
| | | | | | | The problem is due to the section name being explicitly mentioned in the IR and differing between the two platforms. llvm-svn: 187394
* Fix a truly egregious thinko in anonymous namespace check,Eric Christopher2013-07-292-68/+127
| | | | | | | | update testcase to make sure we generate debug info for walrus by adding a non-trivial constructor and verify that we don't emit an ODR signature for the type. llvm-svn: 187393
* Make sure we don't emit an ODR hash for types with no name and makeEric Christopher2013-07-292-21/+64
| | | | | | sure the comments for each testcase are a bit easier to distinguish. llvm-svn: 187392
* Clarify comments for types contained in anonymous namespaces andEric Christopher2013-07-291-1/+3
| | | | | | odr hashes. llvm-svn: 187391
* [PECOFF][Driver] Remove quotes from command line arguments.Rui Ueyama2013-07-292-13/+32
| | | | | | | The command line option in .drectve section may be quoted by double quotes, and if that's the case we have to remove them. llvm-svn: 187390
* Fix TestConcurrentEvents to behave nicely with GCC 4.8Daniel Malea2013-07-291-1/+9
| | | | | | | - newer gcc generates additional debuginfo for function exit (stack object desctruction) which was causing tests to fail - work-around consists of not declaring any stack objects in main() llvm-svn: 187389
* [PECOFF] Process Import Name/Type field in the import library.Rui Ueyama2013-07-296-47/+101
| | | | | | | | This patch removes hacky mangle() function, which strips all decorations uncondtitionally. LLD now interprets Import Name/Type field in the import library properly as described in the Microsoft PE/COFF Spec. llvm-svn: 187388
* Remove assert header dependency in testDavid Blaikie2013-07-291-5/+3
| | | | llvm-svn: 187387
* Simplified SourceManager::translateLineCol a bit.Alexander Kornienko2013-07-291-6/+3
| | | | | | | | | | | | Reviewers: rsmith Reviewed By: rsmith CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1183 llvm-svn: 187386
* Elaborate a bit on the type unit and ODR conditional code.Eric Christopher2013-07-291-4/+4
| | | | llvm-svn: 187385
* Fixed comment typo.John Thompson2013-07-291-1/+1
| | | | llvm-svn: 187384
* Make file_status::getUniqueID const.Rafael Espindola2013-07-293-3/+3
| | | | llvm-svn: 187383
* [PECOFF] Replace the magic number with sizeof().Rui Ueyama2013-07-291-5/+7
| | | | llvm-svn: 187382
* Fix test failure introduced in r187271 by enabling pipefail.Rui Ueyama2013-07-292-3/+4
| | | | llvm-svn: 187381
* Delete documentation for deleted options.Rafael Espindola2013-07-291-41/+0
| | | | llvm-svn: 187380
* Update for llvm api change.Rafael Espindola2013-07-292-10/+13
| | | | llvm-svn: 187379
* Include st_dev to make the result of getUniqueID actually unique.Rafael Espindola2013-07-295-37/+38
| | | | | | This will let us use getUniqueID instead of st_dev directly on clang. llvm-svn: 187378
* Use flag instead of rwlock state to track process running stateEd Maste2013-07-293-51/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LLDB requires that the inferior process be stopped before, and remain stopped during, certain accesses to process state. Previously this was achieved with a POSIX rwlock which had a write lock taken for the duration that the process was running, and released when the process was stopped. Any access to process state was performed with a read lock held. However, POSIX requires that pthread_rwlock_unlock() be called from the same thread as pthread_rwlock_wrlock(), and lldb needs to stop and start the process from different threads. Violating this constraint is technically undefined behaviour, although as it happens Linux and Darwin result in the unlock proceeding in this case. FreeBSD follows POSIX more strictly, and the unlock would fail, resulting in a hang later upon the next attempt to take the lock. All read lock consumers use ReadTryLock() and handle failure to obtain the lock (typically by logging an error "process is running"). Thus, instead of using the lock state itself to track the running state, this change adds an explicit m_running flag. ReadTryLock tests the flag, and if the process is not running it returns with the read lock held. WriteLock and WriteTryLock are renamed to SetRunning and TrySetRunning, and (if successful) they set m_running with the lock held. This way, read consumers can determine if the process is running and act appropriately, and write consumers are still held off from starting the process if read consumers are active. Note that with this change there are still some curious access patterns, such as calling WriteUnlock / SetStopped twice in a row, and there's no protection from multiple threads trying to simultaneously start the process. In practice this does not seem to be a problem, and was exposing other undefined POSIX behaviour prior to this change. llvm-svn: 187377
* Make this test not try to write on object file and test all of theChandler Carruth2013-07-291-5/+3
| | | | | | | | | output rather than just part of it. Also, remove the frighteningly ancient comment about not working with the gcc-driver. (!!!) llvm-svn: 187376
* Debug Info: enable verifier for testing cases.Manman Ren2013-07-2910-11/+11
| | | | llvm-svn: 187375
* PR16715: Fix assert in verifier: only mark call to 'operator new' as ↵Richard Smith2013-07-292-2/+15
| | | | | | | | 'builtin' if corresponding 'operator new' was actually emitted as a function marked 'nobuiltin'. llvm-svn: 187374
* Fix warning.Peter Collingbourne2013-07-291-1/+1
| | | | llvm-svn: 187373
* Move UnpoisonMappedDSO to sanitizer_common.Peter Collingbourne2013-07-295-40/+42
| | | | | | | | This is so DFSan will be able to use it. Differential Revision: http://llvm-reviews.chandlerc.com/D1206 llvm-svn: 187372
OpenPOWER on IntegriCloud