summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MacOSKeychainAPIChecker: Use llvm::SmallString instead of std::string (as ↵Anna Zaks2011-08-151-7/+7
| | | | | | per code review for r137523). llvm-svn: 137633
* Refactor.Devang Patel2011-08-152-5/+11
| | | | llvm-svn: 137632
* Refactor.Devang Patel2011-08-152-15/+9
| | | | llvm-svn: 137631
* Removed debug printf that was left in.Greg Clayton2011-08-151-1/+0
| | | | llvm-svn: 137630
* Don't try to sink the landingpad instruction. It's immobile.Bill Wendling2011-08-151-2/+3
| | | | llvm-svn: 137629
* The landingpad instruction isn't loop-invariant.Bill Wendling2011-08-151-0/+3
| | | | llvm-svn: 137628
* Mark the SCC as "might unwind" if we run into a 'resume' instruction.Bill Wendling2011-08-151-2/+3
| | | | llvm-svn: 137627
* Skip the insertion iterator past the landingpad instruction if there.Bill Wendling2011-08-151-0/+1
| | | | llvm-svn: 137626
* Add new SBAddress APIs to the fuzz tests.Johnny Chen2011-08-151-0/+8
| | | | llvm-svn: 137625
* reformatted to match Clang style; thanks to John McCall for the nudgeMarshall Clow2011-08-151-100/+109
| | | | llvm-svn: 137623
* Refactoring of ValueObject::DumpValueObject and 'frame variable', 'target ↵Enrico Granata2011-08-156-74/+260
| | | | | | variable' commands to use an Options object instead of passing an ever-increasing number of arguments to the DumpValueObject() method, with the ultimate aim of making that call private implementation llvm-svn: 137622
* Refactor. Global variables are part of compile unit so let CompileUnit ↵Devang Patel2011-08-155-129/+151
| | | | | | create new global variable. llvm-svn: 137621
* Add fixit notes for -Wconstant-logical-operand.Matt Beaumont-Gay2011-08-156-38/+108
| | | | llvm-svn: 137620
* Tidy up trailing whitespace.Jim Grosbach2011-08-151-4/+4
| | | | llvm-svn: 137619
* Refactor. A subprogram is part of compile unit so let CompileUnit construct ↵Devang Patel2011-08-154-114/+141
| | | | | | new subprogram. llvm-svn: 137618
* Fix needle-in-haystack bug found by Walter BrownHoward Hinnant2011-08-151-1/+4
| | | | llvm-svn: 137617
* Update comment to reflect MC target machine refactor.Jim Grosbach2011-08-151-1/+1
| | | | llvm-svn: 137615
* Objective-C runtime now caches resolved ISA information for increased efficiencyEnrico Granata2011-08-152-3/+39
| | | | llvm-svn: 137612
* Teach reference initialization from the result of a user-definedDouglas Gregor2011-08-152-5/+20
| | | | | | | conversion to initialize the standard conversion *after* the user-defined conversion properly. Fixes PR10644. llvm-svn: 137608
* www: Updating memaccess DocumentationRaghesh Aloor2011-08-151-0/+18
| | | | llvm-svn: 137607
* Patch from Matt Johnson that cleans up usage of APIntGreg Clayton2011-08-151-3/+2
| | | | | | | to keep GCC 4.5.2 happy and also to not use a deprecated llvm API. llvm-svn: 137605
* Memaccess: Code generation for constant access function changeRaghesh Aloor2011-08-157-3/+141
| | | | | | | Support for generating code for an access function change which is a constant is added. llvm-svn: 137603
* Added the ability to use llvm::APInt class to viewGreg Clayton2011-08-151-0/+96
| | | | | | | | any integers that are larger than a 8 bytes. We can now display signed decimal, unsigned decimal, octal, and binary (we could already view hex before this fix). llvm-svn: 137602
* Factor out the code that parses ObjC Method names into a static methodJim Ingham2011-08-154-44/+101
| | | | | | | in ObjCLanguageRuntime. Add the category-free name of symbols to the Symtab name-to-index list. llvm-svn: 137600
* fix typo in test.Francois Pichet2011-08-141-4/+4
| | | | llvm-svn: 137592
* Another typo found by Nico; Doug also warned me about it, but I didn't ↵Francois Pichet2011-08-141-1/+1
| | | | | | listen to him. llvm-svn: 137591
* Fix typo.Francois Pichet2011-08-142-6/+6
| | | | llvm-svn: 137585
* Add inlining for the new EH scheme.Bill Wendling2011-08-141-17/+146
| | | | | | | | | | | | | This builds off of the current scheme, but instead of llvm.eh.exception and llvm.eh.selector, it uses the landingpad instruction. And instead of llvm.eh.resume, it uses the resume instruction. Because of the invariants in the landing pad instruction, a lot of code that's currently needed to find the appropriate intrinsic calls for an invoke instruction won't be needed once we go to the new EH scheme. The "FIXME"s tell us what to remove after we switch. llvm-svn: 137576
* This transform is not safe. Thanks to Eli for pointing that out!Nick Lewycky2011-08-142-18/+11
| | | | llvm-svn: 137575
* Fix r137086 to actually work properly in general. PR10650.Eli Friedman2011-08-142-2/+12
| | | | llvm-svn: 137574
* Implement function template specialization at class scope extension in ↵Francois Pichet2011-08-1421-26/+280
| | | | | | | | | | | | | | | | | Microsoft mode. A new AST node is introduced: ClassScopeFunctionSpecialization. This node holds a FunctionDecl that is not yet specialized; then during the class template instantiation the ClassScopeFunctionSpecialization will spawn the actual function specialization. Example: template <class T> class A { public: template <class U> void f(U p) { } template <> void f(int p) { } // <== class scope specialization }; This extension is necessary to parse MSVC standard C++ headers, MFC and ATL code. BTW, with this feature in, clang can parse (-fsyntax-only) all the MSVC 2010 standard header files without any error. llvm-svn: 137573
* Don't attempt to add 'nsw' when intermediate instructions had no such guarantee.Nick Lewycky2011-08-142-5/+36
| | | | llvm-svn: 137572
* Teach instcombine to preserve the nsw bit by doing an after-the-fact analysisNick Lewycky2011-08-142-3/+70
| | | | | | when combining add and sub instructions. Patch by Pranav Bhandarkar! llvm-svn: 137570
* Fix "Uninitialized" warnings on g++-4.4.NAKAMURA Takumi2011-08-142-2/+2
| | | | | | In fact, they are false warnings but it seems g++-4.4 might be unable to know they must be false. llvm-svn: 137568
* EE: Provide the symbol "lseek64" explicitly with <unistd.h> on Linux glibc.NAKAMURA Takumi2011-08-142-0/+2
| | | | | | With libcxx, it seems <unistd.h> would not be provided. Thanks to Ryuta Suzuki. llvm-svn: 137567
* Reject -mkernel for i386/Darwin C++ code; fall back to llvm-gcc instead.Bob Wilson2011-08-133-2/+11
| | | | | | | Since -mkernel implies -fapple-kext, this just extends the current behavior for -fapple-kext to apply for -mkernel as well. Radar 9933387. llvm-svn: 137566
* Add support of -x objc-cpp-output, -x objc++-cpp-output to the Driver.Nico Weber2011-08-135-6/+25
| | | | | | Matches gcc, and is also required for using ccache with clang. llvm-svn: 137563
* Fix PR 10635. When generating integer constants, the constant element type mayNadav Rotem2011-08-131-0/+7
| | | | | | | be illegal, even if the requested vector type is legal. Testcase is one of the disabled ARM tests in the vector-select patch. llvm-svn: 137562
* Accept -x objc++-cpp-output as an alias for -x objective-c++-cpp-outputNico Weber2011-08-131-0/+1
| | | | | | | This is the ObjC++ version of r129201. It's for example needed to use ccache with clang. llvm-svn: 137560
* Fix test.Eli Friedman2011-08-131-1/+1
| | | | llvm-svn: 137556
* Fix C++0x narrowing conversion errors in Clang.Jeffrey Yasskin2011-08-131-2/+6
| | | | llvm-svn: 137552
* Expand VMOVQQQQ pseudo instructions.Bob Wilson2011-08-132-0/+59
| | | | | | | Apparently we never added code to expand these pseudo instructions, and in over a year, no one has noticed. Our register allocator must be awesome! llvm-svn: 137551
* Move handling of vget_lane/vset_lane before the code that checks the type.Bob Wilson2011-08-131-24/+31
| | | | | | | | | Unlike most of the other Neon intrinsics, these are not overloaded and do not have the extra argument that specifies the vector type. This has not been fatal because the lane number operand is supposed to be an ICE and so that value has harmlessly been used as the type identifier. Radar 9901281. llvm-svn: 137550
* MacOSKeychainAPIChecker: Test all APIs.Anna Zaks2011-08-131-9/+24
| | | | llvm-svn: 137549
* Bumped Xcode project versions for lldb-72 and debugserver-143.Greg Clayton2011-08-134-22/+23
| | | | llvm-svn: 137547
* Remove the last improper use of getGlobalContext() from LLVM.Nick Lewycky2011-08-132-22/+23
| | | | | | | | | | | | This caused a race condition where a thread calls ~LLVMContextImpl which calls Module::dropAllReferences which calls begin() on an empty ilist that would create the sentinel, which racily accesses the global context. This can not be fixed by locking inside createSentinel because the lock would need to be shared with all users of the global context, including those that reside outside LLVM's own code. llvm-svn: 137546
* Remember to restore the frame in the exe_ctx passed in to RunThreadPlan.Jim Ingham2011-08-132-9/+15
| | | | | | | Also, default "source_init_file" to False in the version of SBDebugger::Create so that we don't pick up the init file in Python. llvm-svn: 137545
* Add a simple test case to exercise the ↵Johnny Chen2011-08-131-0/+19
| | | | | | SBDebugger.CreateTargetWithFileAndTargetTriple() API. llvm-svn: 137544
* Test case for changing ValueObjects with SBValue::SetValueFromCString.Jim Ingham2011-08-133-0/+181
| | | | llvm-svn: 137543
* Modify the skipUnless() logic to work for OSX Lion.Johnny Chen2011-08-131-1/+1
| | | | llvm-svn: 137542
OpenPOWER on IntegriCloud