summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix grammar.Ted Kremenek2012-09-131-4/+4
| | | | llvm-svn: 163828
* Fix test case to avoid PIC magic.Jakob Stoklund Olesen2012-09-131-2/+1
| | | | llvm-svn: 163827
* Recover properly after a parse error in a static_assert declaration.Richard Smith2012-09-132-3/+6
| | | | llvm-svn: 163826
* Use a "better" unicode character, to avoid buildbot breakage on bots which ↵Richard Smith2012-09-131-3/+3
| | | | | | can print some unicode characters. llvm-svn: 163825
* Move back the stuff about missing ownership attribute warningFariborz Jahanian2012-09-132-32/+27
| | | | | | | to SemaDeclObjC and apply some simplification per John's comment. // rdar://12280826 llvm-svn: 163824
* Making sure to create the count attribute in synthetic children providers ↵Enrico Granata2012-09-131-0/+2
| | | | | | for libcxx at the right time llvm-svn: 163823
* Make TextDiagnostic more robust against SourceLocations which point into theRichard Smith2012-09-132-27/+73
| | | | | | | middle of UTF-8 characters, and avoid walking to such positions when adjusting column ranges for display. Fixes a couple of hangs when rendering diagnostics. llvm-svn: 163820
* Fix the TCRETURNmi64 bug differently.Jakob Stoklund Olesen2012-09-132-2/+60
| | | | | | | | | | Add a PatFrag to match X86tcret using 6 fixed registers or less. This avoids folding loads into TCRETURNmi64 using 7 or more volatile registers. <rdar://problem/12282281> llvm-svn: 163819
* <rdar://problem/11086338> Implementing support for synthetic children ↵Enrico Granata2012-09-1315-78/+898
| | | | | | generated by running C++ code instead of Python scripts ; Adding a bunch of value-generating APIs to our private code layer ; Providing synthetic children for NSArray llvm-svn: 163818
* Extract code for reducing a type to a single value type into a helper function.Dan Gohman2012-09-131-15/+21
| | | | llvm-svn: 163817
* When warning about unsafe uses of dispatch_once, specially handle theTed Kremenek2012-09-132-1/+28
| | | | | | | | | | crazy case where dispatch_once gets redefined as a macro that calls _dispatch_once (which calls the real dispatch_once). Users want to see the warning in their own code. Fixes <rdar://problem/11617767> llvm-svn: 163816
* Define an official slot for the new !tbaa.struct metadata tag.Dan Gohman2012-09-132-1/+7
| | | | llvm-svn: 163815
* AsmWriterEmitter: increase the number of bits for OpcodeInfo from 32-bit toManman Ren2012-09-131-11/+46
| | | | | | | | | | | 48-bit if necessary, in order to reduce the generated code size. We have 900 cases not covered by OpcodeInfo in ATT AsmWriter and more in Intel AsmWriter and ARM AsmWriter. This patch reduced the clang Release build size by 50k, running on a Mac Pro. llvm-svn: 163814
* Move no explicit ownership warning to SemaType.cpp.Fariborz Jahanian2012-09-132-27/+32
| | | | | | // rdar://12280826 llvm-svn: 163813
* Add tests for r163778.Ted Kremenek2012-09-133-0/+36
| | | | llvm-svn: 163812
* mips16: When copying operands in a conditional branch instruction, allow forAkira Hatanaka2012-09-131-3/+9
| | | | | | | | immediate operands to be copied. Patch by Reed Kotler. llvm-svn: 163811
* Revert r163761 "Don't fold indexed loads into TCRETURNmi64."Jakob Stoklund Olesen2012-09-134-74/+2
| | | | | | The patch caused "Wrong topological sorting" assertions. llvm-svn: 163810
* MemCpyOpt: When forming a memset from stores also take GEP constexprs into ↵Benjamin Kramer2012-09-132-3/+27
| | | | | | | | account. This is common when storing to global variables. llvm-svn: 163809
* Fix an 80 char line limit.Nadav Rotem2012-09-131-1/+2
| | | | llvm-svn: 163808
* Rename the flag which protects from escaped allocas, which may come from ↵Nadav Rotem2012-09-131-5/+12
| | | | | | bugs in user code or in the compiler. Also, dont assert if the protection is not enabled. llvm-svn: 163807
* The current implementation does not allow more than 32 types to be properly ↵Micah Villmow2012-09-131-4/+8
| | | | | | handled with target lowering. This doubles the size to 64bit types and easily allows extension to more types. llvm-svn: 163806
* Unify the emission of the calling conventions into a single function to ↵Micah Villmow2012-09-131-42/+27
| | | | | | reduce code duplication. llvm-svn: 163805
* This patch introduces A15 as a target in Clang.Silviu Baranga2012-09-135-6/+13
| | | | llvm-svn: 163804
* This patch introduces A15 as a target in LLVM.Silviu Baranga2012-09-1310-30/+47
| | | | llvm-svn: 163803
* Fix a dagcombine optimization. The optimization attempts to optimize a ↵Nadav Rotem2012-09-132-1/+23
| | | | | | | | | | | bitcast of fneg to integers by xoring the high-bit. This fails if the source operand is a vector because we need to negate each of the elements in the vector. Fix rdar://12281066 PR13813. llvm-svn: 163802
* Fix a typo.Nadav Rotem2012-09-131-1/+1
| | | | llvm-svn: 163801
* Make lldb play nicer with C++11 and fix a (maybe impossible to come by) bug.Filipe Cabecinhas2012-09-131-1/+1
| | | | llvm-svn: 163800
* Use Nick's suggestion of storing a large NULL into the GV instead of memset, ↵Bill Wendling2012-09-131-18/+10
| | | | | | which requires TargetData. llvm-svn: 163799
* ASTMatchersMacros.h: Appease msvc.NAKAMURA Takumi2012-09-131-3/+4
| | | | llvm-svn: 163798
* [TSan] support building TSan unittests in CMakeAlexey Samsonov2012-09-133-0/+59
| | | | llvm-svn: 163797
* [TSan] fix a typo in CMakeListsAlexey Samsonov2012-09-131-1/+1
| | | | llvm-svn: 163796
* [TSan] Use interface attribute for weak functions that may be overriden by userAlexey Samsonov2012-09-132-0/+2
| | | | llvm-svn: 163795
* Create initial support for matching and binding NestedNameSpecifier(Loc)s.Daniel Jasper2012-09-137-61/+366
| | | | | Review: http://llvm-reviews.chandlerc.com/D39 llvm-svn: 163794
* Fix Doxygen misuse: refer to parameter names in paragraphs correctly (\arg isDmitri Gribenko2012-09-1326-105/+99
| | | | | | not what most people want -- it starts a new paragraph). llvm-svn: 163793
* Add missing accessor.Manuel Klimek2012-09-131-0/+1
| | | | llvm-svn: 163792
* Stack Coloring: We have code that checks that all of the uses of allocasNadav Rotem2012-09-132-5/+41
| | | | | | | | | | | | | are within the lifetime zone. Sometime legitimate usages of allocas are hoisted outside of the lifetime zone. For example, GEPS may calculate the address of a member of an allocated struct. This commit makes sure that we only check (abort regions or assert) for instructions that read and write memory using stack frames directly. Notice that by allowing legitimate usages outside the lifetime zone we also stop checking for instructions which use derivatives of allocas. We will catch less bugs in user code and in the compiler itself. llvm-svn: 163791
* Fix Doxygen issues:Dmitri Gribenko2012-09-1317-221/+222
| | | | | | | | * wrap code blocks in \code ... \endcode; * refer to parameter names in paragraphs correctly (\arg is not what most people want -- it starts a new paragraph). llvm-svn: 163790
* [TSan] Add initial support for buidling ThreadSanitizer runtime library with ↵Alexey Samsonov2012-09-133-6/+72
| | | | | | CMake (currently the only supported platfrom is 64-bit Linux). This patch makes 'clang++ -fthread-sanitizer' work for both clang in the build tree and installed clang llvm-svn: 163789
* [TSan] fix a bunch of warnings reported by pedantic gccAlexey Samsonov2012-09-1312-17/+21
| | | | llvm-svn: 163788
* Fix a doxygen issue: these examples are supposed to be displayed preformatted.Dmitri Gribenko2012-09-131-43/+66
| | | | llvm-svn: 163787
* [Sanitizer] don't use -Werror as default compile flag for sanitizer runtimes ↵Alexey Samsonov2012-09-131-1/+0
| | | | | | - people may use too many distinct/old host compilers llvm-svn: 163784
* Fix function name in comment.Craig Topper2012-09-131-1/+1
| | | | llvm-svn: 163783
* Fix typo in comment.Nick Lewycky2012-09-131-1/+1
| | | | llvm-svn: 163782
* Conditionally parse documentation comments in system headers byTed Kremenek2012-09-136-0/+14
| | | | | | | | | | passing -fretain-comments-from-system-headers. By default, the compiler no longer parses such documentation comments, as they can result in a noticeable compile time/PCH slowdown. Fixes <rdar://problem/11860820>. llvm-svn: 163778
* Properly link libpthread_p when using profiling on OpenBSD.Eric Christopher2012-09-132-7/+18
| | | | | | Patch by Brad Smith. llvm-svn: 163777
* InitHeaderSearch.cpp: [mingw] Handle DOSish paths only on Win32 hosts.NAKAMURA Takumi2012-09-131-0/+4
| | | | llvm-svn: 163776
* clang/lib/Analysis/ObjCNoReturn.cpp: Fix [-Wnewline-eof]NAKAMURA Takumi2012-09-131-1/+1
| | | | llvm-svn: 163775
* Add a new compression type to ModRM table that detects when the memory modRM ↵Craig Topper2012-09-133-2/+24
| | | | | | byte represent 8 instructions and the reg modRM byte represents up to 64 instructions. Reduces modRM table from 43k entreis to 25k entries. Based on a patch from Manman Ren. llvm-svn: 163774
* Modified the command template to include best practices.Greg Clayton2012-09-131-17/+24
| | | | llvm-svn: 163773
* Format strings: offer a fixit for Darwin's %D/%U/%O to ISO %d/%u/%o.Jordan Rose2012-09-135-39/+88
| | | | | | <rdar://problem/12061922> llvm-svn: 163772
OpenPOWER on IntegriCloud