summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fixed Xcode gtest build failureTodd Fiala2016-01-281-4/+4
| | | | llvm-svn: 259028
* modify Xcode build to use cmake/ninja for internal llvm/clangTodd Fiala2016-01-286-420/+495
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change restores the Xcode build to working after Makefile support was stripped from LLVM and clang recently. With this change, the Xcode build now requires cmake (2.8.12.2+). The cmake must either be on the path that Xcode sees, or it must exist in one of the following locations: * /usr/local/bin/cmake * /opt/local/bin/cmake * $HOME/bin/cmake If the ninja build tool is present on the path, it will be used. If not, ninja will be cloned (via git), bootstrap-built, and used for the llvm/clang build. LLDB now requires a minimum deployment target of OS X 10.9. Prior to this, it was 10.8. The llvm/clang cmake build will not run with Xcode 7.2 or Xcode 7.3 beta's compiler with the minimum deployment target set to anything lower than 10.9. This is related to #include <atomic>. When llvm or clang source code does not exist in the lldb tree, it will be cloned via git using http://llvm.org/git/{project}.git. Previously it used SVN. If this causes any heartache, we can make this smarter, autodetect an embedded svn and use svn instead. (And/or use SVN if a git command is not available). This change also fixes an lldb-mi linkage failure (needed libncurses) as exposed by one of the LLVM libs. llvm-svn: 259027
* [OMPT] Workaround clang failing with 'declare target'Jonas Hahnfeld2016-01-283-6/+9
| | | | | | | | | | Current clang trunk reports _OPENMP to be 201307 = OpenMP 4.0. It doesn't recognize '#pragma omp declare target' though (patch still pending) and therefore fails compilation. Differential Revision: http://reviews.llvm.org/D16631 llvm-svn: 259026
* ValueTracking: Use fixed array for assumption exclude set in Query.Matthias Braun2016-01-281-15/+27
| | | | | | | | | | | | The Query structure is constructed often and is relevant for compiletime performance. We can replace the SmallPtrSet for assumption exclusions in this structure with a fixed size array because we know the maximum number of elements. This improves typical clang -O3 -emit-llvm compiletime by 1.2% in my measurements. Differential Revision: http://reviews.llvm.org/D16204 llvm-svn: 259025
* [DAGCombiner] Don't add volatile or indexed stores to ChainedStoresJunmo Park2016-01-282-0/+47
| | | | | | | | | | | | Summary: findBetterNeighborChains does not handle volatile or indexed stores. However, it did not check when adding stores to ChainedStores. Reviewers: arsenm Differential Revision: http://reviews.llvm.org/D16463 llvm-svn: 259024
* [libcxx] Remove pragmas that were needed to suppress warnings producedAkira Hatanaka2016-01-282-27/+0
| | | | | | | | | by -Wpadded. We don't need these pragmas anymore because -Wpadded was removed from buildit in r258900. llvm-svn: 259023
* [Lex] Share some common code between decimal and octal parsing in ↵Craig Topper2016-01-282-61/+48
| | | | | | | | NumericLiteralParser. There were a couple slight variations between the two copies that I don't believe were intentional. For example, only one of the paths checked for digit separations proceeding a '.', but I think the lexer itself splits the token if a digit separator proceeds a period. llvm-svn: 259022
* SmallPtrSet: Add missing includeMatthias Braun2016-01-281-0/+1
| | | | llvm-svn: 259021
* WebAssembly: fix buildJF Bastien2016-01-281-1/+1
| | | | | | r259016 didn't also revert r258957 which broken the WebAssembly build. llvm-svn: 259020
* SmallPtrSet: Make destructor available for inliningMatthias Braun2016-01-282-6/+4
| | | | llvm-svn: 259019
* SmallPtrSet: Share some code between copy/move constructor/assignment operatorMatthias Braun2016-01-282-33/+19
| | | | llvm-svn: 259018
* SmallPtrSet: Remove trailing whitespace, fix indentationMatthias Braun2016-01-282-16/+17
| | | | llvm-svn: 259017
* Revert r258951 (and r258950), "Refactor backend diagnostics for unsupported ↵NAKAMURA Takumi2016-01-2826-257/+259
| | | | | | | | | | | features" It broke layering violation in LLVMIR. clang r258950 "Add backend dignostic printer for unsupported features" llvm r258951 "Refactor backend diagnostics for unsupported features" llvm-svn: 259016
* Left a file out of r259014Marshall Clow2016-01-281-0/+114
| | | | llvm-svn: 259015
* implement ostream_joiner. Reviewed as http://reviews.llvm.org/D16605Marshall Clow2016-01-287-0/+381
| | | | llvm-svn: 259014
* [WebAssembly] Don't stackify a register def past a get_local use in the same ↵Dan Gohman2016-01-282-1/+34
| | | | | | tree. llvm-svn: 259013
* putting requires on one line - ppc still executes my tests.Mike Aizatsky2016-01-281-2/+1
| | | | llvm-svn: 259012
* [Sema] Make extended vectors of `bool` an error.George Burgess IV2016-01-284-26/+15
| | | | | | | | | | | | | | In OpenCL, `bool` vectors are a reserved type, and are therefore illegal. Outside of OpenCL, if we try to make an extended vector of N `bool`s, Clang will lower it to an `[N x i1]`. LLVM has no ABI for bitvectors, so lots of operations on such vectors are thoroughly broken. As a result, this patch makes them illegal in everything else, as well. :) Differential Revision: http://reviews.llvm.org/D15721 llvm-svn: 259011
* Minor code formatting cleanup. NFC.Junmo Park2016-01-281-1/+1
| | | | llvm-svn: 259010
* [WebAssembly] Enhanced register stackificationDan Gohman2016-01-289-99/+496
| | | | | | | | | | | This patch revamps the RegStackifier pass with a new tree traversal mechanism, enabling three major new features: - Stackification of values with multiple uses, using the result value of set_local - More aggressive stackification of instructions with side effects - Reordering operands in commutative instructions to enable more stackification. llvm-svn: 259009
* Minor style cleanup of CFLAA. NFC.George Burgess IV2016-01-282-15/+14
| | | | llvm-svn: 259008
* [cfi] Fix recovery from out-of-bounds vtable error.Evgeniy Stepanov2016-01-282-6/+13
| | | | llvm-svn: 259007
* [sancov] run sancov test on x86_64 linux onlyMike Aizatsky2016-01-282-0/+4
| | | | llvm-svn: 259006
* GetArgv returns null on widnows, do not crashMike Aizatsky2016-01-281-2/+4
| | | | llvm-svn: 259005
* [sancov] running sancov test on linux onlyMike Aizatsky2016-01-281-0/+0
| | | | llvm-svn: 259004
* A while back in revison 244716 we added support for getting the host OS ↵Greg Clayton2016-01-282-9/+4
| | | | | | | | version info from debugserver. We added keys to "qHostInfo" that were "osmajor", "osminor" and "ospatch", but no one ever parsed those, so I am removing them from debugserver. We accidentally also added a "version" key to qHostInfo instead of "os_version". So now we need to support both "version" and "os_version" in qHostInfo since we have debugserver binaries out in the wild that support this old packet type. I have updated debugserver ot use the correct "os_version" for future compatability or correctness. <rdar://problem/24378699> llvm-svn: 259003
* less indenting; NFCISanjay Patel2016-01-281-107/+109
| | | | llvm-svn: 259002
* using /system/bin/sh on android in tests.Mike Aizatsky2016-01-271-3/+8
| | | | | | | | Subscribers: tberghammer, danalbert, srhines Differential Revision: http://reviews.llvm.org/D16654 llvm-svn: 259001
* [sancov] sancov tool documentationMike Aizatsky2016-01-271-0/+34
| | | | | | Differential Revision: http://reviews.llvm.org/D16432 llvm-svn: 259000
* [sanitizers] generating html report on coverage dumpMike Aizatsky2016-01-279-2/+84
| | | | | | | | Subscribers: tberghammer, danalbert, srhines Differential Revision: http://reviews.llvm.org/D16374 llvm-svn: 258999
* ScopInfo: Never add read accesses for synthesizable valuesMichael Kruse2016-01-279-28/+10
| | | | | | | | | | | | | Before adding a MK_Value READ MemoryAccess, check whether the read is necessary or synthesizable. Synthesizable values are later generated by the SCEVExpander and therefore do not need to be transferred explicitly. This can happen because the check for synthesizability has presumbly been forgotten in the case where a phi's incoming value has been defined in a different statement. Differential Revision: http://reviews.llvm.org/D15687 llvm-svn: 258998
* Strengthen cfi-check-fail test.Evgeniy Stepanov2016-01-271-12/+12
| | | | | | | | r258993 allows stricter testing for basic block labels by making sure that they are always followed by ":". Use this to improve the test. llvm-svn: 258997
* Do not use return with a function whose return type is void.Rui Ueyama2016-01-271-5/+7
| | | | | | | Although it is syntactically correct, it is a bit confusing, and not necessary here. llvm-svn: 258996
* [TTI] Add getPrefetchDistance from PPCLoopDataPrefetch, NFCAdam Nemet2016-01-276-7/+24
| | | | | | | | | | | This patch is part of the work to make PPCLoopDataPrefetch target-independent (http://thread.gmane.org/gmane.comp.compilers.llvm.devel/92758). As it was discussed in the above thread, getPrefetchDistance is currently using instruction count which may change in the future. llvm-svn: 258995
* ARMv7k: simplify logic for deciding sjlj-exceptions.Tim Northover2016-01-272-2/+4
| | | | | | | Slight change of behaviour in the odd armv7+watchos case, which should match the other runtime components. llvm-svn: 258994
* Tweak unnamed label syntax in textual IR for easier matching in tests.Evgeniy Stepanov2016-01-272-3/+3
| | | | | | | | | | | Change the unnamed label comments like ; <label>:8 ; preds = %1 to ; <label>:8: ; preds = %1 This way lit tests can match [[LABEL]]: in both asserts and no-asserts builds. llvm-svn: 258993
* [cfi] Fix a warning in tests.Evgeniy Stepanov2016-01-271-1/+1
| | | | | | | test/cfi/cross-dso/dlopen.cpp:67:45: warning: GCC does not allow 'aligned' attribute in this position on a function definition [-Wgcc-compat] extern "C" void do_nothing() __attribute__((aligned(4096))) {} llvm-svn: 258992
* [CMake] Set llvm_tools_dir to LLVM_TOOLS_BINARY_DIR instead of LLVM_TOOLS_DIRAlexey Samsonov2016-01-273-3/+2
| | | | | | | In this way, it should work for both in-LLVM and standalone compiler-rt build. llvm-svn: 258991
* Restore th_current_task first as suggested by John Mellor-CrummeyJonathan Peyton2016-01-271-5/+4
| | | | | | | If an asynchronous inquiry peers into the runtime system it doesn't see the freed task as the current task. llvm-svn: 258990
* [WebAssembly] Implement byval argumentsDerek Schuff2016-01-273-73/+127
| | | | | | | | | | Summary: Just does the simple allocation of a stack object and passes a pointer to the callee. Differential Revision: http://reviews.llvm.org/D16610 llvm-svn: 258989
* [cfi] Disable vtable diagnostics when no cxxabi.Evgeniy Stepanov2016-01-273-0/+14
| | | | | | This should fix the build on Mac 10.8 and earlier. llvm-svn: 258988
* [utils] Add windows support to update_llc_test_checks.pySimon Pilgrim2016-01-271-1/+3
| | | | | | | | Strip dos line endings from llc generated files to allow the regex patterns to match them. Ensure updated *.ll files are generated with unix style line endings. llvm-svn: 258987
* Formatting fixesJonathan Peyton2016-01-274-146/+84
| | | | | | | Removing extraneous { } bracket sections. Unindenting blocks of code as a result. Also removing empty #ifdef KMP_STUB llvm-svn: 258986
* Fixing comments.Jonathan Peyton2016-01-273-10/+2
| | | | | | Removing references to non-existent functions, fixing typos. llvm-svn: 258985
* Removing extra empty linesJonathan Peyton2016-01-276-35/+0
| | | | llvm-svn: 258984
* [sanitizers] using execv instead of execve with null env.Mike Aizatsky2016-01-271-1/+1
| | | | | | Differential Revision: http://reviews.llvm.org/D16646 llvm-svn: 258983
* [llvm-nm] Remove redundant check for file validity.Davide Italiano2016-01-272-2/+2
| | | | | | | | We already perform it at the beginning of the function so we can't arrive here with an invalid object. Also, add a test so that bugs won't sneak in the future. llvm-svn: 258982
* clang-format: [Java] Remove unnecessary line break after complex annotationsDaniel Jasper2016-01-272-0/+4
| | | | | | | | | | | | | | | Before: @Annotation("Some" + " text") List<Integer> list; After: @Annotation("Some" + " text") List<Integer> list; llvm-svn: 258981
* Class Property: create accessors (class methods) for class property.Manman Ren2016-01-274-26/+83
| | | | | | | | | Change a few places where we assume property accessors can only be instance methods. rdar://23891898 llvm-svn: 258980
* Class Property: handle class properties.Manman Ren2016-01-274-7/+7
| | | | | | | | At places where we handle instance properties, if necessary. rdar://23891898 llvm-svn: 258979
OpenPOWER on IntegriCloud