summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Another installment on debug mode. This addresses list. However this ↵Howard Hinnant2011-09-274-62/+672
| | | | | | should be considered a temporary state. The API of the debug database and how vector and list use it, is unsatisfactory at the moment. It is both inefficient and overly verbose. I wanted to get this functionality checked in though. In the next day or so I'll refactor what is there in an attempt to streamline things. llvm-svn: 140660
* Remove X86-dependent stuff from SSEDomainFix.Jakob Stoklund Olesen2011-09-276-24/+43
| | | | | | | | | This also enables domain swizzling for AVX code which required a few trivial test changes. The pass will be moved to lib/CodeGen shortly. llvm-svn: 140659
* PR11002: Make sure we emit sentinel warnings with a valid source location. ↵Eli Friedman2011-09-272-5/+13
| | | | | | (Ideally, we want to use the location returned by getLocForEndOfToken, but that is not always successful.) llvm-svn: 140658
* Include prefix with default synthesized ivars.Ted Kremenek2011-09-277-31/+40
| | | | llvm-svn: 140657
* Only print _Bool as 'bool' when 'bool' is defined as an object-likeDouglas Gregor2011-09-2712-65/+98
| | | | | | macro whose only replacement token is '_Bool'. llvm-svn: 140656
* Unbreak CMake build.Ted Kremenek2011-09-272-2/+3
| | | | llvm-svn: 140655
* Add a simple test TestModuleAndSection.py to exercise some ↵Johnny Chen2011-09-273-0/+188
| | | | | | | | | module/section-related APIs. In particular, it iterates through the executable module's SBSections, looking for the '__TEXT' section and further iterates on its subsections (of SBSection type, too). llvm-svn: 140654
* Implement TII::get/setExecutionDomain() for ARM.Jakob Stoklund Olesen2011-09-272-0/+59
| | | | llvm-svn: 140653
* Promote the X86 Get/SetSSEDomain functions to TargetInstrInfo.Jakob Stoklund Olesen2011-09-274-10/+39
| | | | | | | | I am going to unify the SSEDomainFix and NEONMoveFix passes into a single target independent pass. They are essentially doing the same thing. llvm-svn: 140652
* Remove the egregious hack that made Objective-C++ ARC work with olderDouglas Gregor2011-09-272-81/+1
| | | | | | | versions of libc++. Newer versions of libc++ know how to deal with ARC properly. Fixes <rdar://problem/10062179>. llvm-svn: 140651
* When 'bool' is not a built-in type but is defined as a macro, printDouglas Gregor2011-09-2720-83/+91
| | | | | | | 'bool' rather than '_Bool' within types, to make things a bit more readable. Fixes <rdar://problem/10063263>. llvm-svn: 140650
* objcetive-c-arc: When overriding a method, its ns_consumed patameterFariborz Jahanian2011-09-274-6/+56
| | | | | | | | attribute must match its overriden method. Same also for ns_returns_retained/not_retained on the result type. This is one half of // rdar://10187884 llvm-svn: 140649
* Fix a crash in MallocOverflowSecurityChecker. Patch by Lei Zhang.Anna Zaks2011-09-272-0/+13
| | | | llvm-svn: 140648
* ARM Thumb2 asm parsing [SU]XT[BH] without rotate but with .w.Jim Grosbach2011-09-272-1/+18
| | | | | | | | Add inst alias to handle these assembly forms. Add tests, too. rdar://10178799 llvm-svn: 140647
* This is the start of the new SjLj EH preparation pass, which will replace theBill Wendling2011-09-274-2/+127
| | | | | | | | | | | | | | | | | | | current IR-level pass. The old SjLj EH pass has some problems, especially with the new EH model. Most significantly, it violates some of the new restrictions the new model has. For instance, the 'dispatch' table wants to jump to the landing pad, but we cannot allow that because only an invoke's unwind edge can jump to a landing pad. This requires us to mangle the code something awful. In addition, we need to keep the now dead landingpad instructions around instead of CSE'ing them because the DWARF emitter uses that information (they are dead because no control flow edge will execute them - the control flow edge from an invoke's unwind is superceded by the edge coming from the dispatch). Basically, this pass belongs not at the IR level where SSA is king, but at the code-gen level, where we have more flexibility. llvm-svn: 140646
* Check for GCC paths that have the target triple in them. This is required ↵David Chisnall2011-09-273-47/+54
| | | | | | for a lot of cross-compile toolchains. Also add some slightly better support for -B. llvm-svn: 140645
* Embed patterns in definitions of MFC1 and MTC1 instead of defining them outsideAkira Hatanaka2011-09-271-5/+4
| | | | | | of the instruction definitions using Pat<>. llvm-svn: 140644
* Remove an invalid assert that is really just asserting when the scheduler emitsCameron Zwarich2011-09-271-1/+0
| | | | | | a suboptimal schedule. llvm-svn: 140643
* Get rid of useless helper Sema::CastCategory.Eli Friedman2011-09-276-20/+11
| | | | llvm-svn: 140642
* test/CMakeLists.txt: Depend on llvm-objdump. "make check" is expected to ↵NAKAMURA Takumi2011-09-271-1/+1
| | | | | | resolve test-dependent targets on CMake build. llvm-svn: 140641
* Make the assignment of TestBase.mydir more portable.Johnny Chen2011-09-273-3/+3
| | | | llvm-svn: 140640
* If you download clang and delete the test directory, you can end upDouglas Gregor2011-09-271-1/+1
| | | | | | | with the copy line failing with an error, yet the make will complete successfully. From Greg Clayton! llvm-svn: 140639
* SBWatchpointLocation.GetDescription() takes an additional description level arg.Johnny Chen2011-09-272-1/+5
| | | | | | Modify get_description() utility function in lldbutil.py to handle that. llvm-svn: 140638
* de-tmpify clang.Benjamin Kramer2011-09-2713-97/+90
| | | | llvm-svn: 140637
* Rename AddSelectionDAGCSEId() to addSelectionDAGCSEId().Jim Grosbach2011-09-274-5/+5
| | | | | | Naming conventions consistency. No functional change. llvm-svn: 140636
* [analyzer] Remove target triple from the malloc overflow test.Anna Zaks2011-09-271-3/+2
| | | | llvm-svn: 140635
* Stop emitting instructions with the name "tmp" they eat up memory and have ↵Benjamin Kramer2011-09-2722-146/+123
| | | | | | | | to be uniqued, without any benefit. If someone prefers %tmp42 to %42, run instnamer. llvm-svn: 140634
* Add SBTarget::GetLastCreatedWatchpointLocation() API and export to the ↵Johnny Chen2011-09-279-9/+59
| | | | | | | | | | | Python interface. Also add rich comparison methods (__eq__ and __ne__) for SBWatchpointLocation. Modify TestWatchpointLocationIter.py to exercise the new APIs. Add fuzz testings for the recently added SBTarget APIs related to watchpoint manipulations. llvm-svn: 140633
* Add fuzz testing for newly added SBWatchpointLocation API.Johnny Chen2011-09-272-0/+28
| | | | llvm-svn: 140632
* Remove incorrect passage.Bill Wendling2011-09-271-8/+4
| | | | llvm-svn: 140631
* <rdar://problem/10172492> No armv4t slice of libcompiler_rt-static.aNick Kledzik2011-09-272-1/+4
| | | | llvm-svn: 140630
* These symbols appear to be visible by SearchForAddressOfSymbol and no longer Chad Rosier2011-09-271-15/+0
| | | | | | | require special case handling. rdar://10117377 llvm-svn: 140629
* Added an API to SymbolContext to hide the complexity of getting theJim Ingham2011-09-273-8/+44
| | | | | | | function name from a symbol context. Use that in CommandCompletions to get the right name. llvm-svn: 140628
* Add binary archive support to llvm-nm.Michael J. Spencer2011-09-274-10/+44
| | | | llvm-svn: 140627
* Object: Add archive support.Michael J. Spencer2011-09-274-1/+271
| | | | llvm-svn: 140626
* Check that catch clauses have pointer type.Duncan Sands2011-09-271-2/+7
| | | | llvm-svn: 140625
* PTX: Fix case where printed alignment could be 0Justin Holewinski2011-09-271-1/+1
| | | | llvm-svn: 140624
* Some changes to improve compatibility for MSVC-style C++ struct layout. ↵Eli Friedman2011-09-274-42/+401
| | | | | | Patch from r4start at gmail.com (with some minor modifications by me). llvm-svn: 140623
* Unbreak tests.Michael J. Spencer2011-09-272-0/+0
| | | | llvm-svn: 140622
* Document the incompatibility that stems from Clang properly implementDouglas Gregor2011-09-271-1/+39
| | | | | | | | | | the rule that defines the implicit copy constructor/implicit copy asssignment operator as deleted when a move constructor or move assignment operator has been explicitly declared. This has hit a number of people because Boost 1.47.0's shared_ptr fails to declare a copy constructor. llvm-svn: 140621
* Move test, so it actually tests what it is supposed to (given that we don't ↵Eli Friedman2011-09-272-8/+8
| | | | | | have an AST verifier). llvm-svn: 140620
* Add FCA to the lexicon.Bill Wendling2011-09-271-0/+12
| | | | llvm-svn: 140619
* Fix examples for r140478. PR11021.Eli Friedman2011-09-272-3/+3
| | | | llvm-svn: 140618
* PTX: Use external symbols to keep track of params and locals. This also fixesJustin Holewinski2011-09-276-55/+64
| | | | | | | a couple of outstanding issues with frame objects occuring as instruction operands. llvm-svn: 140616
* Use existing function.Jakob Stoklund Olesen2011-09-271-13/+1
| | | | llvm-svn: 140615
* [libclang] Expose array size and element type, patch by Vinay Sajip!Argyrios Kyrtzidis2011-09-274-2/+56
| | | | llvm-svn: 140614
* Constant evaluation for pointer CXXScalarValueInitExprPeter Collingbourne2011-09-271-0/+2
| | | | llvm-svn: 140613
* Introduce a callback to PPCallbacks for lines skipped by the preprocessor.Argyrios Kyrtzidis2011-09-273-4/+23
| | | | | | Patch by Jason Haslam! llvm-svn: 140612
* Enable the following CFLAGS in the Xcode project build:Greg Clayton2011-09-271-9/+15
| | | | | | | | | -flimit-debug-info -feliminate-unused-debug-types -Wparentheses This helps to trim down the debug information size a bit by omitting types that aren't used. llvm-svn: 140611
* Break SourceManager::translateFileLineCol into translateFile, no ↵Argyrios Kyrtzidis2011-09-272-5/+22
| | | | | | functionality change. llvm-svn: 140610
OpenPOWER on IntegriCloud