summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* First cut at a post c++14 status pageMarshall Clow2014-06-022-0/+91
| | | | llvm-svn: 210056
* Itanium ABI: Update getAddrOfVTable to set the DLL storage class for vtablesHans Wennborg2014-06-023-5/+26
| | | | | | | | This corresponds to the same change for the MS ABI in r209908. Differential Revision: http://reviews.llvm.org/D3993 llvm-svn: 210054
* Cleanup Android build and provide better diagnosticsGreg Fitzgerald2014-06-021-15/+24
| | | | | | | | | | No longer need to set ANDROID if COMPILER_RT_TEST_TARGET_TRIPLE is arm-linux-androideabi. No need to set ANDROID_COMMON_FLAGS. These flags are already in CMAKE_CXX_FLAGS which are used in try_compile(). llvm-svn: 210053
* Add back commit r210029.Rafael Espindola2014-06-027-16/+31
| | | | | | | | The code was actually correct. Sorry for the confusion. I have expanded the comment saying why the analysis is valid to avoid me misunderstaning it again in the future. llvm-svn: 210052
* Small cleanups for the new enum fixes:Greg Clayton2014-06-023-10/+18
| | | | | | | | - Fix Xcode project to have source files for SBTypeEnumMember.h/SBTypeEnumMember.cpp in the right place - Rename a member variable to inluce "_sp" suffix since it is a shared pointer - Cleanup initialization code for TypeEnumMemberImpl to not warn about out of order initialization llvm-svn: 210051
* allow optional signext attributeWill Schmidt2014-06-023-10/+10
| | | | | | | Allow the tests to succeed with tne signext (or other) attribute is present. The attributes show up for Power, but not for x86*, so need to be appropriately wildcarded. llvm-svn: 210050
* Convert test to FileCheck.Rafael Espindola2014-06-021-4/+6
| | | | llvm-svn: 210049
* Revert "Add the nsw flag when we detect that an add will not signed overflow."Rafael Espindola2014-06-027-17/+12
| | | | | | | | | This reverts commit r210029. It was not correctly handling cases where LHS and RHS had multiple but different sign bits. llvm-svn: 210048
* Delete apparently unused methodAlexey Samsonov2014-06-022-29/+0
| | | | llvm-svn: 210047
* Add support for inspecting enum members.Todd Fiala2014-06-0220-2/+608
| | | | | | | | | Change by Russell Harmon. Xcode project updates (and all errors therein) by Todd Fiala. llvm-svn: 210046
* InitLibcallNames can take a Triple instead of a TargetMachine.Eric Christopher2014-06-021-4/+4
| | | | llvm-svn: 210045
* Never filter-out compile errors in clang-tidy, display them as errors.Alexander Kornienko2014-06-026-15/+34
| | | | | | | | | | | | | | | | | | Summary: No filters should affect the display of errors. Fixed a few tests, which had compile errors. We need to think what we should do with mapped errors (-Werror). Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3982 llvm-svn: 210044
* Exit with error when no checks enabled.Alexander Kornienko2014-06-023-2/+13
| | | | | | | | | | | | | | | | Summary: This seems like a more appropriate reaction to the user specifying a single check with a wrong name, for example. Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3981 llvm-svn: 210043
* [CodeGen] Don't use SizeTy for EmitNeonSplat.Michael J. Spencer2014-06-021-1/+1
| | | | llvm-svn: 210042
* Remove unused variableAlexey Samsonov2014-06-021-2/+0
| | | | llvm-svn: 210041
* Added support to optimize comparisons with "lshr exact" of a constant.Rafael Espindola2014-06-022-6/+37
| | | | | | Patch by Rahul Jain. llvm-svn: 210040
* Fix comment vs function name mismatchHans Wennborg2014-06-021-1/+1
| | | | llvm-svn: 210039
* Remove sanitizer blacklist from ASan/TSan/MSan function passes.Alexey Samsonov2014-06-024-49/+17
| | | | | | | | | | | | | | | | | Instrumentation passes now use attributes address_safety/thread_safety/memory_safety which are added by Clang frontend. Clang parses the blacklist file and adds the attributes accordingly. Currently blacklist is still used in ASan module pass to disable instrumentation for certain global variables. We should fix this as well by collecting the set of globals we're going to instrument in Clang and passing it to ASan in metadata (as we already do for dynamically-initialized globals and init-order checking). This change also removes -tsan-blacklist and -msan-blacklist LLVM commandline flags in favor of -fsanitize-blacklist= Clang flag. llvm-svn: 210038
* Remove sanitizer blacklist from ASan/TSan/MSan function passes.Alexey Samsonov2014-06-021-9/+5
| | | | | | | | | | | | | | | | | Instrumentation passes now use attributes address_safety/thread_safety/memory_safety which are added by Clang frontend. Clang parses the blacklist file and adds the attributes accordingly. Currently blacklist is still used in ASan module pass to disable instrumentation for certain global variables. We should fix this as well by collecting the set of globals we're going to instrument in Clang and passing it to ASan in metadata (as we already do for dynamically-initialized globals and init-order checking). This change also removes -tsan-blacklist and -msan-blacklist LLVM commandline flags in favor of -fsanitize-blacklist= Clang flag. llvm-svn: 210037
* Add executable extension to debugger name, run dotest via binary.Todd Fiala2014-06-022-3/+3
| | | | | | | | See http://reviews.llvm.org/D3904 for details. Change by Scott Graham. llvm-svn: 210036
* Fix most of the remaining Windows build warnings.Todd Fiala2014-06-026-61/+70
| | | | | | | | See http://reviews.llvm.org/D3944 for more details. Change by Zachary Turner. llvm-svn: 210035
* Omit else branch after return.Eric Christopher2014-06-021-2/+4
| | | | llvm-svn: 210034
* CGDebugInfo: Simplify/invert createLexicalBlock parameter construction.David Blaikie2014-06-021-8/+5
| | | | llvm-svn: 210033
* [X86] Fix checked arithmetic for i8 on X86.Andrea Di Biagio2014-06-022-2/+27
| | | | | | | | | | | When lowering a ISD::BRCOND into a test+branch, make sure that we always use the correct condition code to emit the test operation. This fixes PR19858: "i8 checked mul is wrong on x86". Patch by Keno Fisher! llvm-svn: 210032
* clang-tidy: Extend the use-override check to understand 'final'.Daniel Jasper2014-06-022-3/+24
| | | | llvm-svn: 210031
* [ASan Win] Manually call __asan_init early in the DLL initialization process ↵Timur Iskhodzhanov2014-06-022-1/+39
| | | | | | to avoid a null function call in cout/cerr constructors llvm-svn: 210030
* Add the nsw flag when we detect that an add will not signed overflow.Rafael Espindola2014-06-027-12/+17
| | | | | | | We already had a function for checking this, we were just using it only in specialized cases. llvm-svn: 210029
* [Sanitizer/interception Win] Break into the debugger on unknown instructionsTimur Iskhodzhanov2014-06-021-1/+2
| | | | llvm-svn: 210028
* [ASan Win] Fix memset interception in DLLsTimur Iskhodzhanov2014-06-022-0/+22
| | | | llvm-svn: 210027
* The exception-declaration for a function-try-block cannot redeclare aAaron Ballman2014-06-023-8/+22
| | | | | | | function parameter. One of our existing test cases was XFAILed because of this. This fixes the issue and un-XFAILs the test. llvm-svn: 210026
* CMake: remove duplicated source file from listAlp Toker2014-06-021-1/+0
| | | | | | Patch by Jack Howarth! llvm-svn: 210025
* [asan] Default to memory-mapped coverage on Android.Evgeniy Stepanov2014-06-021-1/+1
| | | | | | The alternative (writing coverage at process exit) is nearly useless there. llvm-svn: 210024
* [msan] Remove an out-of-date comment.Evgeniy Stepanov2014-06-021-2/+0
| | | | | | MSan is no longer an "early prototype". llvm-svn: 210023
* Remove path_tclsh.m4.Rafael Espindola2014-06-021-39/+0
| | | | | | Looks like it was only used by dejagnu and is now dead. llvm-svn: 210022
* [AArch64] Add some more regression tests for store pre-index update folding ↵Tilmann Scheller2014-06-021-0/+105
| | | | | | | | | | | | | | | | in the load/store optimizer. Add tests for the following transform: add x8, x8, #16 ... str X, [x8] -> str X, [x8, #16]! with X being either w0, x0, s0, d0 or q0. llvm-svn: 210021
* [msan] Handle x86 vector pack intrinsics.Evgeniy Stepanov2014-06-023-0/+95
| | | | llvm-svn: 210020
* Remove unused code in a libc++ test.Nico Weber2014-06-021-17/+0
| | | | | | | | | | | Other tests in this directory use this type, so it's probably copypasta from there. (test_buf only forwards to the superclass in all tests where it's used though, so I wonder if it can be replaced with just using filebuf / wfilebuf everywhere?) llvm-svn: 210019
* [AArch64] Add some more regression tests for load pre-index update folding ↵Tilmann Scheller2014-06-021-0/+106
| | | | | | | | | | | | | | | | in the load/store optimizer. Add tests for the following transform: add x8, x8, #16 ... ldr X, [x8] -> ldr X, [x8, #16]! with X being either w0, x0, s0, d0 or q0. llvm-svn: 210018
* clang-format: Fix special case of binary operator detection.Daniel Jasper2014-06-022-0/+7
| | | | | | | | | | | | | | | | | There is a pattern where evaluation order is used as control flow. This patch special-cases a commonly occuring version of this pattern. Before: Aaaaa *aaa = nullptr; // ... aaa &&aaa->f(); After: Aaaaa *aaa = nullptr; // ... aaa && aaa->f(); llvm-svn: 210017
* Remove superfluous semicolon confusing clang-format.Daniel Jasper2014-06-021-1/+1
| | | | llvm-svn: 210016
* Run clang-format.Rui Ueyama2014-06-021-62/+61
| | | | llvm-svn: 210015
* s/vector/std::vector/Rui Ueyama2014-06-021-22/+21
| | | | llvm-svn: 210014
* clang-format: No space between ")" and braced init list.Daniel Jasper2014-06-022-5/+7
| | | | | | | | | | | | Before: auto j = decltype(i) {}; After: auto j = decltype(i){}; This fixes llvm.org/PR19892. llvm-svn: 210013
* [asan] Improve vDSO check in AsanCheckDynamicRTPrereqs; patch by Yuri GribovKostya Serebryany2014-06-021-0/+4
| | | | llvm-svn: 210012
* clang-format: Fix Allman brace breaking of enums.Daniel Jasper2014-06-022-4/+14
| | | | | | | | | | | | | | | | | | Before: enum Side { LEFT, RIGHT }; After: enum Side { LEFT, RIGHT }; This fixes llvm.org/PR19911. llvm-svn: 210011
* clang-format: Fix trailing const (etc.) with Allman brace style.Daniel Jasper2014-06-022-2/+9
| | | | | | | | | | | | | | | | | | Before: void someLongFunction(int someLongParameter) const { } After: void someLongFunction( int someLongParameter) const { } This fixes llvm.org/PR19912. llvm-svn: 210010
* [sancov] Remove debug leftovers and update usage text.Evgeniy Stepanov2014-06-021-4/+2
| | | | llvm-svn: 210009
* Simplify markLive().Rui Ueyama2014-06-022-7/+6
| | | | | | | | Reference::target() never returns a nullptr, so NULL check is not needed and is more harmful than doing nothing. No functionality change. llvm-svn: 210008
* Added inst combine tarnsform for (1 << X) & C pattrens where C is (some ↵Dinesh Dwivedi2014-06-022-8/+41
| | | | | | | | | | | | PowerOf2 - 1) This patch can handles following cases from http://nondot.org/sabre/LLVMNotes/InstCombine.txt "((1 << X) & 7) == 0" ==> "X > 2" "((1 << X) & 7) != 0" ==> "X < 3". Differential Revision: http://reviews.llvm.org/D3678 llvm-svn: 210007
* Added inst combine transforms for single bit tests from Chris's noteDinesh Dwivedi2014-06-022-1/+133
| | | | | | | | | | | | if ((x & C) == 0) x |= C becomes x |= C if ((x & C) != 0) x ^= C becomes x &= ~C if ((x & C) == 0) x ^= C becomes x |= C if ((x & C) != 0) x &= ~C becomes x &= ~C if ((x & C) == 0) x &= ~C becomes nothing Differential Revision: http://reviews.llvm.org/D3777 llvm-svn: 210006
OpenPOWER on IntegriCloud