summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patch for fixing the handling of hardware breakpoints.Deepak Panickal2014-02-242-59/+97
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D2826 llvm-svn: 202028
* clang build fix: don't check for gnu tools by defaultAlp Toker2014-02-241-4/+4
| | | | | | | | | | gcc/g++ don't exist on modern OS X development environments so the failed checks for gcc were causing the build to break even with 'make compiler=clang'. (The rationale for the check refers to a file 'touch-test.c' which no longer exists in the codebase.) llvm-svn: 202027
* [tsan] one more test for deadlock detectorKostya Serebryany2014-02-241-5/+26
| | | | llvm-svn: 202026
* [asan] A test was reverted, but not "svn rm"-ed in r202016.Evgeniy Stepanov2014-02-241-0/+0
| | | | llvm-svn: 202025
* Add AArch64 big endian Target (aarch64_be)Christian Pirker2014-02-2416-112/+219
| | | | llvm-svn: 202024
* [CMake] Better support for COMPILER_RT_ENABLE_WERROR. Make sure compiler-rt ↵Alexey Samsonov2014-02-243-2/+11
| | | | | | libraries are build by 'make all' command llvm-svn: 202023
* tsan: fix SIGRTMAX handlingDmitry Vyukov2014-02-241-1/+5
| | | | llvm-svn: 202022
* [CMake] Introduce COMPILER_RT_ENABLE_WERROR optionAlexey Samsonov2014-02-241-0/+7
| | | | llvm-svn: 202021
* Fix AST matcher documentation for overloaded matchers.Manuel Klimek2014-02-242-27/+98
| | | | | | | | Before this patch we would only use the fist occurance of a matcher function in the documentation, for example leaving out hasType(Matcher<QualType>). llvm-svn: 202019
* Fix typosAlp Toker2014-02-2425-60/+60
| | | | llvm-svn: 202018
* Fix docs generation for the AST matchers:Manuel Klimek2014-02-244-59/+106
| | | | | | | | | 1. Move internal functions into ASTMatchersInternal. 2. Adapt dump_ast_matchers.py to the new VariadicOperatorMatcherFunc signature. 3. Update the actual docs with the updated tool / code. llvm-svn: 202017
* Revert r202014.Evgeniy Stepanov2014-02-243-43/+1
| | | | | | Failing on the bots for an unknown reason. llvm-svn: 202016
* AVX-512: Fixed encoding of VPCMPEQ and VPCMPGTElena Demikhovsky2014-02-241-4/+8
| | | | llvm-svn: 202015
* [asan] Add a test for interceptors in shared libraries.Evgeniy Stepanov2014-02-243-1/+43
| | | | llvm-svn: 202014
* [asan] Avoid hardcoding library path in test binary.Evgeniy Stepanov2014-02-241-2/+2
| | | | llvm-svn: 202013
* ASTMatchers: added CXXMethodDecl matcher isPure()Dmitri Gribenko2014-02-242-1/+22
| | | | | | | | | | | | | The isPure() CXXMethodDecl matcher matches pure method declaration like "A::x" in this example: class A { virtual void x() = 0; } Patch by Konrad Kleine. llvm-svn: 202012
* AdjustStackSizeLinux() is used in Lsan, Tsan and Msan non-Linux-specific ↵Kostya Serebryany2014-02-246-6/+5
| | | | | | | | | code so it seems it should have more generic name and moved to a common scope. Renamed to AdjustStackSize. Patch by Viktor Kutuzov. llvm-svn: 202011
* Dead code elimination: Schedule another approximative step before actual DCETobias Grosser2014-02-242-4/+8
| | | | | | | | | | | | | | | | | In 'obsequi' we have a scop in which the current dead code elimination works, but the generated code is way too complex. To avoid this trouble (and to not disable the DCE entirely) we add an additional approximative step before the actual dead code elimination. This should fix one of the two current nightly-test issues. Polly could be improved to handle 'obsequi' by teaching it to introduce only a single parameter for (%1 and zext %1) which halves the number of parameters and allows polly to derive a simpler representation for the set of live iterations. However, this needs some time to investigate. I will commit a test case as soon as we have a reduced one. llvm-svn: 202010
* [sanitizer] Interception macros for sanitizers on FreeBSD; patch by Viktor ↵Kostya Serebryany2014-02-244-14/+22
| | | | | | Kutuzov llvm-svn: 202009
* tsan: fix compiler warningDmitry Vyukov2014-02-241-1/+1
| | | | | | error: address of array 'tctx->name' will always evaluate to 'true' llvm-svn: 202008
* Add driver test for multiple preprocessor inputsAlp Toker2014-02-242-2/+8
| | | | | | | | | Fix an unintentional stdin read in the darwin-asan-nofortify.c test and replace it with an explicit test for multiple -E inputs passed to the driver. Noticed while working on the in-process driver patch. llvm-svn: 202007
* Use a more conventional logical op instead of bitwise andAlp Toker2014-02-241-1/+1
| | | | llvm-svn: 202006
* Share a createUniqueEntity implementation between unix and windows.Rafael Espindola2014-02-244-206/+94
| | | | | | | The only extra bit of functionality that had to be exposed for this be be implemented in Path.cpp is opening a file in rw mode. llvm-svn: 202005
* [AArch64] Change int64_t from 'long long int' to 'long int' for AArch64 target.Kevin Qin2014-02-249-15/+161
| | | | | | | | | | Most 64-bit targets define int64_t as long int, and AArch64 should make same definition to follow LP64 model. In GNU tool chain, int64_t is defined as long int for 64-bit target. So to get consistent with GNU, it's better Changing int64_t from 'long long int' to 'long int', otherwise clang will get different name mangling suffix compared with g++. llvm-svn: 202004
* Update __cplusplus to match the value in the C++14 DIS preview (D3937).Richard Smith2014-02-242-5/+7
| | | | llvm-svn: 202003
* Do not put instrumentation counters before phis in ObjC for-in loops.Bob Wilson2014-02-243-3/+48
| | | | | | | We still don't use the PGO to set branch weights for these loops, but at least this keeps the compiler from crashing. <rdar://problem/16137778> llvm-svn: 202002
* Delete dead code.Rafael Espindola2014-02-243-15/+2
| | | | llvm-svn: 202001
* codegen: Update LoopInfo correctlyTobias Grosser2014-02-242-0/+33
| | | | | | | | | Add the 'polly.start' basic block to the loop that surrounds the scop we just codegenerate. This fixes PR13441 llvm-svn: 202000
* Asm Parser: support .error directiveSaleem Abdulrasool2014-02-233-10/+62
| | | | | | | | The .error directive is similar to .err in that it will halt assembly if it is evaluated for assembly. However, it permits a user supplied message to be rendered. llvm-svn: 201999
* AsmParser: support .ifeqs directiveSaleem Abdulrasool2014-02-232-2/+64
| | | | | | | The .ifeqs directive assembles the following code if the quoted string parameters are equal. The strings must be quoted using double quotes. llvm-svn: 201998
* Cloog: Compute simple hulls during code generationTobias Grosser2014-02-231-0/+3
| | | | | | | | | Sven suggested to use this simpler code generation strategy as the convex_hull computation is apparently rather inefficient. We do not have a test case that shows a difference, but, in case we find a test case where this makes a difference, we can reconsider our decission. llvm-svn: 201997
* SPARC: Implement TRAP lowering. Matches what GCC emits.Benjamin Kramer2014-02-233-0/+16
| | | | llvm-svn: 201994
* [Index] Make the USRs more stable.Argyrios Kyrtzidis2014-02-236-37/+50
| | | | | | | | | - Only include offsets with local (in function scope) symbols, where we don't encode scoping - Only include the filename with non-system symbols. Presumably the system headers will not provide conflicting definitions. rdar://15976823 llvm-svn: 201990
* ARMAsmParser: whitespaceSaleem Abdulrasool2014-02-231-4/+4
| | | | llvm-svn: 201989
* ARM IAS: support .align without parametersSaleem Abdulrasool2014-02-232-0/+48
| | | | | | | | .align is handled specially on certain targets. .align without any parameters on ARM indicates a default alignment (4). Handle the special case in the target parser, but fall back to the generic parser for the normal version. llvm-svn: 201988
* Fixing the indentation of the RST content in the release notes. Fixes two ↵Aaron Ballman2014-02-231-5/+5
| | | | | | warnings when building the HTML content and improves the format of the resulting content. llvm-svn: 201987
* MCAsmParser: support .ifneSaleem Abdulrasool2014-02-232-3/+16
| | | | | | | The .ifne directive assembles the following section of code if the argument expression is non-zero. Effectively, it is equivalent to if. llvm-svn: 201986
* MCAsmParser: handle space properly for .ifc/.ifncSaleem Abdulrasool2014-02-232-1/+7
| | | | | | | | If the strings are not quoted, the first string stops at the first comma, and the second string stops at the end of the line. Strings which contain whitespace should be quoted. Unquoted space is to be discarded. llvm-svn: 201985
* MCAsmParser: add support for .err directiveSaleem Abdulrasool2014-02-232-0/+35
| | | | | | | The .err directive produces an error whenever it is assembled. This can be useful for preventing assembly when an unexpected condition occurs. llvm-svn: 201984
* Use static instead of an anonymous namespace.Rafael Espindola2014-02-232-35/+31
| | | | llvm-svn: 201983
* Do not fail in case we do not have valid dependencesTobias Grosser2014-02-236-2/+150
| | | | | | | | In case we do not have valid dependences, we do not run dead code elimination or the schedule optimizer. This fixes an infinite loop in the dead code elimination (PR12110). llvm-svn: 201982
* Sema: Simplify away one-iteration loops.Benjamin Kramer2014-02-231-14/+5
| | | | | | No functionality change. llvm-svn: 201981
* AVX-512: Fixed encoding of VPTESTMQElena Demikhovsky2014-02-232-8/+25
| | | | llvm-svn: 201980
* Simplify remove, create_directory and create_directories.Rafael Espindola2014-02-236-106/+74
| | | | | | | | | | | | | | | Before this patch they would take an boolean argument to say if the path already existed. This was redundant with the returned error_code which is able to represent that. This allowed for callers to incorrectly check only the existed flag instead of first checking the error code. Instead, pass in a boolean flag to say if the previous (non-)existence should be an error or not. Callers of the of the old simple versions are not affected. They still ignore the previous (non-)existence as they did before. llvm-svn: 201979
* [CMake] Resurrect mis-dropped dependency to ClangDriverOptions since r201842.NAKAMURA Takumi2014-02-232-0/+6
| | | | llvm-svn: 201978
* [CMake] Apply DEPENDS to clangTidy.NAKAMURA Takumi2014-02-231-0/+3
| | | | llvm-svn: 201977
* Use simpler form of llvm::sys::fs::remove.Rafael Espindola2014-02-231-2/+1
| | | | llvm-svn: 201975
* LocalStackSlotAllocation: Turn one-iteration loop into if.Benjamin Kramer2014-02-231-12/+5
| | | | | | No functionality change. llvm-svn: 201974
* [CMake] clang_tblgen: Use add_public_tablegen_target.NAKAMURA Takumi2014-02-231-3/+2
| | | | llvm-svn: 201973
* TableGen.cmake: Functionalize and reformat.NAKAMURA Takumi2014-02-231-16/+17
| | | | llvm-svn: 201972
OpenPOWER on IntegriCloud