summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ScopInfo: Further style improvementsTobias Grosser2012-01-171-10/+14
| | | | llvm-svn: 148328
* ScopInfo: Simplify some code IITobias Grosser2012-01-171-55/+16
| | | | llvm-svn: 148327
* ScopInfo: Simplify some codeTobias Grosser2012-01-172-38/+23
| | | | llvm-svn: 148326
* When initializing a catch variable in ARC, be sure to emit retainsJohn McCall2012-01-174-3/+165
| | | | | | | | | or whatever else is required for the initialization instead of assuming it can be done with a simple store. Fixes PR11732. llvm-svn: 148325
* Fix a couples of issues in format strings checking.Jean-Daniel Dupas2012-01-174-85/+133
| | | | | | | PR 10274: format function attribute with the NSString archetype yields no compiler warnings PR 10275: format function attribute isn't checked in Objective-C methods llvm-svn: 148324
* Rework the way in which we (de-)serialize the declarationsDouglas Gregor2012-01-174-10/+28
| | | | | | | | | | | | | | | | corresponding to TagType and ObjCInterfaceType. Previously, we would serialize the definition (if available) or the canonical declaration (if no definition was available). However, this can end up forcing the deserialization of the definition even through we might not want to yet. Instead, always serialize the canonical declaration reference in the TagType/ObjCInterfaceType entry, and as part of loading a pending definition, update the "decl" pointer within the type node to point at the definition. This is more robust in hard-to-isolate cases where the *Type gets built and filled in before we see the definition. llvm-svn: 148323
* Untabify.Devang Patel2012-01-171-12/+12
| | | | llvm-svn: 148322
* Intel syntax: Do not unncessarily create plus expression for memory operand ↵Devang Patel2012-01-172-2/+3
| | | | | | displacement. llvm-svn: 148321
* objc: fixes a bug where struct used inside anFariborz Jahanian2012-01-172-1/+22
| | | | | | | | objc class was not being exported to parent decl context resulting in bogus mismatch warning later on. // rdar://10655530 llvm-svn: 148320
* [libclang] Make sure Preprocessor is set in ASTUnit during indexing.Argyrios Kyrtzidis2012-01-175-0/+9
| | | | llvm-svn: 148319
* [asan] workaround for bug http://llvm.org/bugs/show_bug.cgi?id=11763. Do not ↵Kostya Serebryany2012-01-172-3/+21
| | | | | | bark on memcpy(a, a, size). llvm-svn: 148318
* Don't eagerly deserialize the 'Protocol' type when initializing codeDouglas Gregor2012-01-171-8/+19
| | | | | | generation for Objective-C; it may not be needed. llvm-svn: 148317
* Intel syntax: Ignore mnemonic aliases.Devang Patel2012-01-172-1/+11
| | | | llvm-svn: 148316
* Remove "XFAIL: arm" from test/ExecutionEngine/test-return.llEli Bendersky2012-01-171-1/+0
| | | | | | The test passes on ARM bots llvm-svn: 148315
* When collecting all of the redeclarations of a declaration loaded fromDouglas Gregor2012-01-171-1/+4
| | | | | | | | a module file, be sure to also add the first (potentially canonical) declarations to the chain. This isn't guaranteed to occur because the first declaration is not listed in the stored redeclaration chain. llvm-svn: 148314
* Delay the creation of the built-in Objective-C class 'Protocol' byDouglas Gregor2012-01-178-48/+56
| | | | | | | moving it from a "special type" to a predefined declaration, as we do for id, Class, and SEL. llvm-svn: 148313
* Intel syntax: Robustify memory operand parsing.Devang Patel2012-01-172-51/+121
| | | | llvm-svn: 148312
* [asan] fix ReadFileToBuffer to correctly handle files from /proc/ (asan ↵Kostya Serebryany2012-01-171-3/+12
| | | | | | issue 27) llvm-svn: 148311
* Put do-installhdrs target back into Makefile.Howard Hinnant2012-01-171-0/+11
| | | | llvm-svn: 148310
* Stop installing headers, this is now done by clangHoward Hinnant2012-01-171-20/+1
| | | | llvm-svn: 148309
* Add an LLDB data formatter script for llvm::SmallVector, maybe this is ↵Benjamin Kramer2012-01-171-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | helpful to someone else. This lets lldb give sane output for SmallVectors, e.g. Before: (lldb) p sv (llvm::SmallVector<int, 10>) $0 = { (llvm::SmallVectorImpl<int>) llvm::SmallVectorImpl<int> = { (llvm::SmallVectorTemplateBase<int>) llvm::SmallVectorTemplateBase<int> = { (llvm::SmallVectorTemplateCommon<int>) llvm::SmallVectorTemplateCommon<int> = { (llvm::SmallVectorBase) llvm::SmallVectorBase = { (void *) BeginX = 0x00007fff5fbff960 ... } After: (lldb) p sv (llvm::SmallVector<int, 10>) $0 = { (int) [0] = 42 (int) [1] = 23 ... } The script is still a bit rough so expect crashes for vectors of complex types. Synthetic children are _not_ available in xcode 4.2, newer LLDBs should work though. llvm-svn: 148308
* www: Move automatic polly installation to a more prominent placeTobias Grosser2012-01-171-12/+20
| | | | llvm-svn: 148307
* www: Fix clang path in polly.sh scriptTobias Grosser2012-01-171-1/+1
| | | | llvm-svn: 148306
* Revert commit 148304Alexey Samsonov2012-01-174-12/+32
| | | | llvm-svn: 148305
* AddressSanitizer: from this patch, ASan allocator returns false for ↵Alexey Samsonov2012-01-174-32/+12
| | | | | | __asan_get_ownership(NULL) and produce error reports for malloc_usable_size(NULL) and __asan_get_allocated_size(NULL) llvm-svn: 148304
* Define the bounds of the branch allocator memory space for 32-bit apps.Alexander Potapenko2012-01-171-5/+14
| | | | llvm-svn: 148303
* Removes template magic to build up containers.Manuel Klimek2012-01-172-131/+212
| | | | | | Instead, we now put the attributes of the container into members. llvm-svn: 148302
* Fix warning.Nadav Rotem2012-01-171-1/+1
| | | | llvm-svn: 148301
* Treat -Wformat=0 as an alias for -Wformat.Hans Wennborg2012-01-172-0/+7
| | | | | | Fixes PR9195. llvm-svn: 148300
* Additional ExecutionEngine tests, as part of bringing up the MCJIT on ELFEli Bendersky2012-01-177-0/+244
| | | | | | | | | implementation. Currently lit still executes ExecutionEngine tests with JIT (not MCJIT) by default. MCJIT tests can be executed manually by calling llvm-lit with --param jit_impl=mcjit llvm-svn: 148299
* Fix 11769.Nadav Rotem2012-01-172-1/+19
| | | | | | | | In CanXFormVExtractWithShuffleIntoLoad we assumed that EXTRACT_VECTOR_ELT can be later handled by the DAGCombiner. However, in some cases on AVX, the EXTRACT_VECTOR_ELT is legalized to EXTRACT_SUBVECTOR + EXTRACT_VECTOR_ELT, which currently is not handled by the DAGCombiner. In this patch I added a check that we only extract from the XMM part. llvm-svn: 148298
* Teach DAG combiner to turn a BUILD_VECTOR of UNDEFs into an UNDEF of vector ↵Craig Topper2012-01-171-4/+8
| | | | | | type. llvm-svn: 148297
* Re-add an over-zealously removed break.David Blaikie2012-01-171-0/+1
| | | | llvm-svn: 148296
* Remove unnecessary AVX check from an assert. hasSSE2 is enough.Craig Topper2012-01-171-2/+1
| | | | llvm-svn: 148295
* Remove dead comments as per Chandler's feedback to r148292David Blaikie2012-01-171-2/+0
| | | | llvm-svn: 148294
* Provide better messages in llvm_unreachable.David Blaikie2012-01-172-2/+2
| | | | llvm-svn: 148293
* Remove unreachable code in Clang. (replace with llvm_unreachable where ↵David Blaikie2012-01-1743-185/+77
| | | | | | appropriate or when GCC requires it) llvm-svn: 148292
* misched: Inital interface and implementation for ScheduleTopDownLive and ↵Andrew Trick2012-01-171-17/+130
| | | | | | ShuffleInstructions. llvm-svn: 148291
* Renamed MachineScheduler to ScheduleTopDownLive.Andrew Trick2012-01-176-53/+65
| | | | | | Responding to code review. llvm-svn: 148290
* Moving options declarations around.Andrew Trick2012-01-174-14/+7
| | | | | | More short term hackery until we have a way to configure passes that work on LiveIntervals. llvm-svn: 148289
* LSR fix: broaden the check for loop preheaders.Andrew Trick2012-01-172-5/+126
| | | | | | | It's becoming clear that LoopSimplify needs to unconditionally create loop preheaders. But that is a bigger fix. For now, continuing to hack LSR. Fixes rdar://10701050 "Cannot split an edge from an IndirectBrInst" assert. llvm-svn: 148288
* AddressSanitizer: add support for malloc_usable_size() functionAlexey Samsonov2012-01-177-23/+81
| | | | llvm-svn: 148287
* AddressSanitizer: create AsanThreadSummary together with AsanThread (in ↵Alexey Samsonov2012-01-177-34/+40
| | | | | | parent thread) llvm-svn: 148286
* Fix a crasher when PerformShiftCombine receives a BUILD_VECTOR of all UNDEF. ↵Craig Topper2012-01-171-0/+5
| | | | | | Probably could use better handling in DAG combine or getNode. Fixes PR11772. llvm-svn: 148285
* Remove unreachable code. (replace with llvm_unreachable to help GCC where ↵David Blaikie2012-01-1711-15/+11
| | | | | | necessary) llvm-svn: 148284
* Add 148175 back. I am unable to reproduce any non determinism in a dragoneggRafael Espindola2012-01-171-2/+4
| | | | | | | | | | | or clang bootstrap. I will keep an eye on the bots. Original message: Only emit the Leh_func_endN symbol when needed. llvm-svn: 148283
* Makefile: add missing files to FilesToConfigDylan Noblesmith2012-01-172-3/+10
| | | | | | | And fix the comment about where the FilesToConfig variable is. llvm-svn: 148282
* Remove unnecessary default cases in switches over enums.David Blaikie2012-01-1737-66/+14
| | | | | | This allows -Wswitch-enum to find switches that need updating when these enums are modified. llvm-svn: 148281
* Fix the test properly now that SBValue::GetValueAsUnsigned works for bitfields.Jim Ingham2012-01-171-4/+0
| | | | llvm-svn: 148280
* [libclang] Make clang_getCursorCompletionString not depend on the ASTUnit havingArgyrios Kyrtzidis2012-01-171-18/+16
| | | | | | | | a Sema. This allows it to work when Sema is not available, like when loading AST files. llvm-svn: 148279
OpenPOWER on IntegriCloud