summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace low-level constraint building with higher level functionsTobias Grosser2015-05-212-29/+9
| | | | | | | | Instead of explicitly building constraints and adding them to our maps we now use functions like map_order_le to add the relevant information to the maps. llvm-svn: 237934
* XPASS a bunch of GdbRemote/LldbGdbServer testsVince Harron2015-05-216-8/+0
| | | | | | | | | | | | Depends on r237932 "Fixed intermittent failures in TestGdbRemote*/TestLldbGdbServer" Test Plan: Ran dosep 100x, no failures in these tests Differential Revision: http://reviews.llvm.org/D9892 llvm-svn: 237933
* Fixed intermittent failures in TestGdbRemote*/TestLldbGdbServerVince Harron2015-05-2114-2/+28
| | | | | | | | | | | | | | test/tools/lldb-server/commandline/Test* were actually executing in their parent directory. This looks fine at first because they aren't compiling an inferior executable. Unfortunately, they still call "make clean" during their cleanup, which is likely causing all kinds of havok in tests running in the parent directory Differential Revision: http://reviews.llvm.org/D9869 llvm-svn: 237932
* Re-enable packet logging for GdbRemote/LldbServer testsVince Harron2015-05-212-7/+11
| | | | | | | | Creates logs in session dir Differential Revision: http://reviews.llvm.org/D9847 llvm-svn: 237931
* [LoopDistribute] Remove a layer of pointer indirection.Benjamin Kramer2015-05-211-41/+32
| | | | | | | Just store InstPartitions directly into the std::list. No functional change intended. llvm-svn: 237930
* Itanium mangler: don't trip an assertion when unresolved members have ↵Douglas Gregor2015-05-212-5/+18
| | | | | | | | | | | | implicit bases. When we find a member of the current instantation, the base of the unresolved member expression is implicit; use nullptr for such bases. This is not a change in behavior: the AST already contains null in such cases, so non-asserts builds do the right thing already. Fixes rdar://problem/21020559. llvm-svn: 237929
* Fix lldb executable discovery on OS XVince Harron2015-05-211-1/+1
| | | | | | | | It was broken by r237632 Differential Revision: http://reviews.llvm.org/D9846 llvm-svn: 237928
* [TestChangeValueAPI] Remove expectedFailureGcc decorator.Siva Chandra2015-05-211-1/+0
| | | | | | | | | | | | | | Test Plan: dotest.py -C <clang|gcc> -p TestChangeValueAPI Reviewers: vharron Reviewed By: vharron Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9116 llvm-svn: 237927
* dotest.py - log session to a file instead of a StringIO classVince Harron2015-05-211-24/+32
| | | | | | | | | | | | | That way, if the test gets killed (by a dosep timeout) we get to see the session trace Test Plan: Run dotest.py Kill it while it's running, check the session dir for Test* files Differential Revision: http://reviews.llvm.org/D9845 llvm-svn: 237926
* Add logging for XTIMEOUT/UnexpectedSuccessVince Harron2015-05-211-0/+16
| | | | | | | | | | | | If an expected timeout test times out, touch <session-dir>/ExpectedTimeout-<test-name> If an expected timeout test passes, touch <session-dir>/UnexpectedCompletion-<test-name> Differential Revision: http://reviews.llvm.org/D9843 llvm-svn: 237925
* Modify dosep.py to add default session dir parameterVince Harron2015-05-211-10/+17
| | | | | | | | | | | | | | | | This ensures that all spawned dotest instances store their traces in the same location. Test Plan: run dosep.py with and without a -s option for dotest cd lldb/test ./dosep.py ./dosep.py -o '-s /tmp/traces' Differential Revision: http://reviews.llvm.org/D9839 llvm-svn: 237923
* [TestBuiltinTrap] Change skipIfGcc to expectedFailure for GCC <= 4.6.Siva Chandra2015-05-211-3/+1
| | | | | | | | | | | | | | Test Plan: dotest.py -C gcc -p TestBuiltinTrap Reviewers: vharron Reviewed By: vharron Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D9117 llvm-svn: 237922
* TestInlineStepping - made XFAIL more specificVince Harron2015-05-211-1/+2
| | | | | | Differential Revision: http://reviews.llvm.org/D9828 llvm-svn: 237921
* Update Makefile to reflect that TestNumThreads now uses std::thread instead ↵Adrian McCarthy2015-05-211-1/+1
| | | | | | of pthreads. llvm-svn: 237919
* use range-based for-loops; NFCISanjay Patel2015-05-211-4/+2
| | | | llvm-svn: 237918
* use range-based for-loops; NFCISanjay Patel2015-05-211-6/+2
| | | | llvm-svn: 237917
* Fix task team synchronization Jonathan Peyton2015-05-211-0/+1
| | | | | | | | | | | The fix simply syncs up the new threads to have the same task_state and task_team as the old threads. The master thread is skipped, because it shouldn't at this point have the team's task_team value yet -- it should still have parent_team's task_team. It gets pointed at the new team's task_team later, after __kmp_allocate_team returns, and the master has stored a memo of it's old task_state. llvm-svn: 237916
* Fix warning on builds without asserts.Rafael Espindola2015-05-211-0/+1
| | | | llvm-svn: 237915
* use range-based for-loopSanjay Patel2015-05-211-3/+2
| | | | llvm-svn: 237914
* Avoid unnecessary section switching. NFC.Rafael Espindola2015-05-213-5/+4
| | | | llvm-svn: 237913
* Remove yet another method of creating begin and end symbol for sections.Rafael Espindola2015-05-216-49/+36
| | | | | | I missed this one when first unifying how we handle begin and end symbols. llvm-svn: 237912
* don't repeat function names in comments; NFCSanjay Patel2015-05-211-158/+134
| | | | llvm-svn: 237911
* Size enum so we can store it as 16-bits and avoid casts. NFCPete Cooper2015-05-211-3/+3
| | | | llvm-svn: 237910
* Use existing helper for adding a section. NFC.Rafael Espindola2015-05-212-4/+2
| | | | llvm-svn: 237909
* use range-based for-loop; NFCISanjay Patel2015-05-211-4/+1
| | | | llvm-svn: 237908
* Only check for matching arch and UUID when looking for dsym in vincinity of ↵Robert Flack2015-05-211-4/+22
| | | | | | | | | | | | | | | | | executable. ModuleSpecs::FindMatchingModuleSpec looks for matching filenames but when looking for the dSYM we should only be looking for a matching architecture and and UUID. Jason pointed out this mistake in http://reviews.llvm.org/D9174 when this function was incorrectly converted to not be Mac specific. Test Plan: Running LLDB on test/lang/c/shared_lib_stripped_symbols/a.out in a debugger I've verified LocateDSYMInVincinityOfExecutable correctly locates the matching dSYM. Differential Revision: http://reviews.llvm.org/D9896 llvm-svn: 237907
* std::sort must be called with a strict weak ordering.Manuel Klimek2015-05-211-4/+4
| | | | | | Found by a debug enabled stl. llvm-svn: 237906
* [clang-tidy] Disable google-readability-casting for .c files and their headers.Alexander Kornienko2015-05-214-0/+13
| | | | | | | | | Some people have reasons to compile their .c files as C++ in some configurations (e.g. for testing purposes), so just looking at LangOptions is not enough. This patch disables the check on all .c files (and also for the headers included from .c files). llvm-svn: 237905
* Add bug number for TestEventsTamas Berghammer2015-05-211-1/+1
| | | | llvm-svn: 237904
* AVX-512: Enabled SSE intrinsics on AVX-512.Elena Demikhovsky2015-05-215-16/+38
| | | | | | | | | Predicate UseAVX depricates pattern selection on AVX-512. This predicate is necessary for DAG selection to select EVEX form. But mapping SSE intrinsics to AVX-512 instructions is not ready yet. So I replaced UseAVX with HasAVX for intrinsics patterns. llvm-svn: 237903
* Make Triple::parseARMArch use ARMTargetParserRenato Golin2015-05-214-50/+174
| | | | | | | | | | | Simplifying Triple::parseARMArch, leaving all the parsing to ARMTargetParser. This commit also adds AArch64 detection to ARMTargetParser canonicalization, and a two RedHat arch names (v{6,7}hl, meaning hard-float / little-endian). Adding enough unit tests to cover the basics. Clang checks fine. llvm-svn: 237902
* Handle aggregate return types in SysV-arm ABITamas Berghammer2015-05-211-5/+28
| | | | | | Differential revision: http://reviews.llvm.org/D9910 llvm-svn: 237901
* Add float/double return value handling to SysV-arm ABITamas Berghammer2015-05-211-0/+37
| | | | | | | | | | This is neccessary for evaluating expressions with float/double return value and for displaying float/double return values in case of a thread step out. Differential revision: http://reviews.llvm.org/D9907 llvm-svn: 237900
* [RewriteStatepointsForGC] Fix debug assertion during derivable pointer ↵Igor Laevsky2015-05-211-6/+6
| | | | | | | | | | rematerialization Correct assertion would be that there is no other uses from chain we are currently cloning. It is ok to have other uses of values not from this chain. Differential Revision: http://reviews.llvm.org/D9882 llvm-svn: 237899
* [ARM] Add dynamic symbols to the dynamic library writerDenis Protivensky2015-05-212-3/+35
| | | | llvm-svn: 237898
* Fix memory-dereferenceable.ll testArtur Pilipenko2015-05-211-3/+3
| | | | | | | | | | One of the testcases introduced by D9365 had incorrect !dereferenceable metadata on load. It must fail but it doesn't due to incorrect order of CHECK/CHECK-NOT commands in test. Fixed both. Reviewed By: sanjoy Differential Revision: http://reviews.llvm.org/D9877 llvm-svn: 237897
* [ARM] Remove useless file with writer's instantiation stubDenis Protivensky2015-05-212-19/+0
| | | | llvm-svn: 237896
* clang-format: [JS] Better support for fat arrows.Manuel Klimek2015-05-215-19/+94
| | | | | | | | | | | | Assigns a token type (TT_JsFatArrow) to => tokens, and uses that to more easily recognize and format fat arrow functions. Improves function parsing to better recognize formal parameter lists and return type declarations. Recognizes arrow functions and parse function bodies as child blocks. Patch by Martin Probst. llvm-svn: 237895
* [ARM] Restructure cpu handling in the driver to mostly use the tripleJohn Brawn2015-05-212-44/+96
| | | | | | | | | | | | | | | | | | Using the target cpu to determine some behaviour is sprinkled in several places in the driver, but in almost all the information that is needed can be found in the triple. Restructure things so that the triple is used, and the cpu is only used if the exact cpu name is needed. Also add a check that the -mcpu argument is valid, and correct the -march argument checking so that it handles -march=native correctly. I would have liked to move these checks into the computation of the triple, but the triple is calculated several times in several places and that would lead to multiple error messages for the same thing. Differential Revision: http://reviews.llvm.org/D9879 llvm-svn: 237894
* Test commit. Fix typo in MemDerefPrinter.cpp comment.Artur Pilipenko2015-05-211-1/+1
| | | | llvm-svn: 237893
* [ARM] Remove unused field in executable writerDenis Protivensky2015-05-211-2/+1
| | | | llvm-svn: 237892
* [ARM] Move out common Writer functionality to ARMELFWriterDenis Protivensky2015-05-217-83/+167
| | | | llvm-svn: 237891
* Remove unnecessary FIXME commentRenato Golin2015-05-211-2/+0
| | | | | | It has been fixed by commit r237797. llvm-svn: 237890
* Fixed unused variable warning in non-assert builds from rL237885Simon Pilgrim2015-05-211-2/+1
| | | | llvm-svn: 237889
* XFAIL TestEvents on Linux bacuse it is flakyTamas Berghammer2015-05-211-0/+1
| | | | llvm-svn: 237888
* XFAILing TestRaise on darwin due to an apparent bugPavel Labath2015-05-211-0/+2
| | | | llvm-svn: 237887
* [ELF] Move start/end atom method assignment to OutputELFWriter. NFCDenis Protivensky2015-05-213-25/+28
| | | | llvm-svn: 237886
* [X86][SSE] Improve support for 128-bit vector sign extensionSimon Pilgrim2015-05-217-300/+298
| | | | | | | | | | This patch improves support for sign extension of the lower lanes of vectors of integers by making use of the SSE41 pmovsx* sign extension instructions where possible, and optimizing the sign extension by shifts on pre-SSE41 targets (avoiding the use of i64 arithmetic shifts which require scalarization). It converts SIGN_EXTEND nodes to SIGN_EXTEND_VECTOR_INREG where necessary, that more closely matches the pmovsx* instruction than the default approach of using SIGN_EXTEND_INREG which splits the operation (into an ANY_EXTEND lowered to a shuffle followed by shifts) making instruction matching difficult during lowering. Necessary support for SIGN_EXTEND_VECTOR_INREG has been added to the DAGCombiner. Differential Revision: http://reviews.llvm.org/D9848 llvm-svn: 237885
* [mips] [IAS] Add 2 missing CHECK directives for fixups in mips-expansions.s.Toma Tabacu2015-05-211-2/+2
| | | | llvm-svn: 237884
* [ARM] Remove unused fields in dynamic library writerDenis Protivensky2015-05-211-5/+1
| | | | llvm-svn: 237883
OpenPOWER on IntegriCloud