summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Couple less magic numbers.Eric Christopher2011-05-171-3/+5
| | | | llvm-svn: 131457
* Make this code a little less magic number laden.Eric Christopher2011-05-171-12/+30
| | | | llvm-svn: 131456
* add a noteChris Lattner2011-05-171-0/+26
| | | | llvm-svn: 131455
* Fixed the "mmap" to work on MacOSX/darwin by supplying the correct arguemnts.Greg Clayton2011-05-174-17/+66
| | | | | | | | | | | Modified ClangUserExpression and ClangUtilityFunction to display the actual error (if one is available) that made the JIT fail instead of a canned response. Fixed the restoring of all register values when the 'G' packet doesn't work to use the correct data. llvm-svn: 131454
* Added an allocated memory cache to avoid having to allocate memory over andGreg Clayton2011-05-178-191/+658
| | | | | | | | over when running JITed expressions. The allocated memory cache will cache allocate memory a page at a time for each permission combination and divvy up the memory and hand it out in 16 byte increments. llvm-svn: 131453
* Drop lli, revise test.Stuart Hastings2011-05-171-2/+3
| | | | llvm-svn: 131452
* Back out r131444 and r131438; they're breaking nightly tests. I'll look intoEli Friedman2011-05-173-47/+50
| | | | | | it more tomorrow. llvm-svn: 131451
* Revert r131447, see if it fixes the buildbot.Argyrios Kyrtzidis2011-05-171-2/+5
| | | | llvm-svn: 131450
* Set the default "break list" level back to full.Jim Ingham2011-05-171-1/+1
| | | | llvm-svn: 131449
* Fix the error message when an expression evaluation is interrupted by a ↵Jim Ingham2011-05-175-12/+82
| | | | | | | | | crash/breakpoint hit to give the reason for the interrupt. Also make sure it we don't want to unwind from the evaluation we print something if it is interrupted. llvm-svn: 131448
* Inside isEmptyRecord function, for CXXRecordDecl just check the isEmpty bit.Argyrios Kyrtzidis2011-05-171-5/+2
| | | | llvm-svn: 131447
* Reapply the commits that r131401 reverted and add a fix for PR9927.Argyrios Kyrtzidis2011-05-175-42/+258
| | | | llvm-svn: 131446
* Fix a bug in the test case file (doesn't affect the tests.)Jim Ingham2011-05-171-2/+5
| | | | llvm-svn: 131445
* Fix test.Eli Friedman2011-05-171-1/+3
| | | | llvm-svn: 131444
* Clang makes two breakpoints for some fairly simple lines, not sure why but ↵Jim Ingham2011-05-172-7/+7
| | | | | | | | no need to check for this in the testsuite. llvm-svn: 131443
* Test case for r131441.Devang Patel2011-05-171-0/+21
| | | | llvm-svn: 131442
* Set up appropriate context for member function.Devang Patel2011-05-171-0/+3
| | | | | | Radar 9440721 llvm-svn: 131441
* Implement some tests for defaulted constructors. To do this I had toAlexis Hunt2011-05-174-17/+120
| | | | | | suppress an error we were previously emitting on valid union code. llvm-svn: 131440
* Add target triple so test doesn't fail on Windows machines.Evan Cheng2011-05-171-1/+1
| | | | llvm-svn: 131439
* Add x86 fast-isel for calls returning first-class aggregates. rdar://9435872.Eli Friedman2011-05-172-49/+44
| | | | llvm-svn: 131438
* @llvm.lifetime.begin acts as a load, not @llvm.lifetime.end.Owen Anderson2011-05-171-1/+1
| | | | llvm-svn: 131437
* Teach LiveInterval::isZeroLength about null SlotIndexes.Jakob Stoklund Olesen2011-05-164-18/+8
| | | | | | | | | | | | When instructions are deleted, they leave tombstone SlotIndex entries. The isZeroLength method should ignore these null indexes. This causes RABasic to sometimes spill a callee-saved register in the abi-isel.ll test, so don't run that test with -regalloc=basic. Prioritizing register allocation according to spill weight can cause more registers to be used. llvm-svn: 131436
* Fix crash on C++ code when compiling with -finstrument-functions.Ted Kremenek2011-05-162-1/+31
| | | | llvm-svn: 131435
* Emit complete-object constructors for abstract classes in kext mode forJohn McCall2011-05-162-1/+22
| | | | | | reasons that honestly really, really need to be looked into. llvm-svn: 131434
* Fix bad test case; not all compilers are guaranteed to step into code ↵Johnny Chen2011-05-161-9/+6
| | | | | | | | inlined from the STL header file. rdar://problem/8983790 llvm-svn: 131433
* Implement the new C++0x rules for non-trivial things in unions so thatAlexis Hunt2011-05-163-17/+40
| | | | | | my defaulted constructor tests stop yelling at me about them. llvm-svn: 131432
* Kill some dead code.Jim Grosbach2011-05-161-3/+1
| | | | llvm-svn: 131431
* Delete unused variables.Dan Gohman2011-05-163-9/+7
| | | | llvm-svn: 131430
* Trim #includes.Dan Gohman2011-05-161-7/+0
| | | | llvm-svn: 131429
* Fix whitespace and 80-column violations.Dan Gohman2011-05-161-10/+10
| | | | llvm-svn: 131428
* There is no need to force DebugLoc on a PHI at this point.Devang Patel2011-05-161-2/+0
| | | | llvm-svn: 131427
* Track how many insns fast-isel successfully selects as well as how many itJim Grosbach2011-05-161-0/+2
| | | | | | misses. llvm-svn: 131426
* Pulls the common part of the clang-check example into Tooling, to allow new ↵Manuel Klimek2011-05-163-73/+148
| | | | | | tools to be implemented without duplicating the boilerplate. llvm-svn: 131425
* Remove dead code. Fix associated test to use FileCheck.Eli Friedman2011-05-162-15/+14
| | | | llvm-svn: 131424
* Test case for r131422.Devang Patel2011-05-161-0/+82
| | | | llvm-svn: 131423
* Preserve debug info for unused zero extended boolean argument.Devang Patel2011-05-162-10/+40
| | | | | | Radar 9422775. llvm-svn: 131422
* Add a method I forgot in the last commit. Don't worry, this one passedCharles Davis2011-05-162-0/+7
| | | | | | self-host :). llvm-svn: 131421
* Make fast-isel work correctly s/uadd.with.overflow intrinsics.Eli Friedman2011-05-164-84/+37
| | | | llvm-svn: 131420
* Fix silly typo.Eli Friedman2011-05-161-1/+1
| | | | llvm-svn: 131419
* Add implementation of built-in function len() for those lldb containers withJohnny Chen2011-05-162-12/+38
| | | | | | | | | | | | | | | unambiguous iteration support. So that we could, for example: ... REGs = lldbutil.get_GPRs(frame) print "Number of general purpose registers: %d" % len(REGs) for reg in REGs: print "%s => %s" %(reg.GetName(), reg.GetValue()) ... llvm-svn: 131418
* Basic fast-isel of extractvalue. Not too helpful on its own, given the IR ↵Eli Friedman2011-05-163-0/+70
| | | | | | clang generates for cases like this, but it should become more useful soon. llvm-svn: 131417
* Fix errors in this llvm ir example.Nick Lewycky2011-05-161-7/+7
| | | | llvm-svn: 131416
* Fix places that were writing directly to the debugger's outputCaroline Tice2011-05-162-7/+19
| | | | | | handles to go through the appropriate channels instead. llvm-svn: 131415
* Brought call_once variadic call up to current spec, which allows move-only ↵Howard Hinnant2011-05-162-4/+61
| | | | | | functors and move-only arguments, but disallows functors with non-const lvalue reference parameters. llvm-svn: 131414
* Brought thread variadic constructor up to current spec, which allows ↵Howard Hinnant2011-05-163-6/+56
| | | | | | move-only functors and move-only arguments, but disallows functors with non-const lvalue reference parameters. llvm-svn: 131413
* Renamed the test cases more properly to test_lldb_iter_module/breakpoint/farme.Johnny Chen2011-05-161-9/+9
| | | | llvm-svn: 131412
* Add a FIXME reminder to remove ForceARMElfPIC switch.Jason W Kim2011-05-161-0/+4
| | | | llvm-svn: 131411
* Supply missing std::qualifier to call.Howard Hinnant2011-05-161-2/+2
| | | | llvm-svn: 131410
* Spit 5th bullet __invoke into function pointers and everything else because ↵Howard Hinnant2011-05-161-0/+8
| | | | | | result_of doesn't deal with function pointers. llvm-svn: 131409
* Supply missing move ctor in __bind_r, though this one will eventually be ↵Howard Hinnant2011-05-161-0/+4
| | | | | | defaulted llvm-svn: 131408
OpenPOWER on IntegriCloud