Skip to content
  1. Feb 19, 2013
  2. Feb 17, 2013
  3. Feb 16, 2013
    • Greg Clayton's avatar
      <rdar://problem/13121056> · 8df92678
      Greg Clayton authored
      Fixed a crasher when the ConnectionFileDescriptor was used in a process with over FD_SETSIZE (1024) files open. It would corrupt the stack and cause the stack checker to assert and kill the program.
      
      The final fix was to "#define _DARWIN_UNLIMITED_SELECT" at the top of the one and only file that uses select () in the LLDB codebase and then make an array of "fd_set" objects so they can handle more than 1024 file descriptors. The new code can handle as many file descriptors as a process can create.    
          
      
      llvm-svn: 175378
      8df92678
    • Greg Clayton's avatar
      Added a kqueue class which isn't being used yet, but was part of trying to... · e48310dc
      Greg Clayton authored
      Added a kqueue class which isn't being used yet, but was part of trying to work around the limitations with the unix select() call and how it is limited to FD_SETSIZE file descriptors.
      
      Also added a TimeSpecTimeout class which can be used with any calls that take a "struct timespec *" as an argument. It is used by the KQueue class.
      
      Also updated some project settings.
      
      llvm-svn: 175377
      e48310dc
    • Filipe Cabecinhas's avatar
      Include a small argparse compatibility layer for Python < 2.7 · 103e16e4
      Filipe Cabecinhas authored
      llvm-svn: 175341
      103e16e4
    • Greg Clayton's avatar
      Get rid of a warning. · 7a168161
      Greg Clayton authored
      llvm-svn: 175337
      7a168161
    • Enrico Granata's avatar
      NSSet formatter is now C++ code · f615b80d
      Enrico Granata authored
      Split some NS* formatters in their own source files
      Refactored a utility function for the C++ formatters to use
      Fixed the skip-summary test case to be explicit about requiring libstdc++ for operation
      
      llvm-svn: 175323
      f615b80d
    • Sean Callanan's avatar
      Fixes in the IRInterpreter: · c8675507
      Sean Callanan authored
      - removed an unnecessary variable
      - fixed an issue where we sometimes
        wrote too much data into a buffer
      - made the recognition of variables
        as "this" a little more conservative
      
      <rdar://problem/13216268>
      
      llvm-svn: 175318
      c8675507
  4. Feb 15, 2013
    • Daniel Malea's avatar
      Improve test harness for the buildbots · cbaef266
      Daniel Malea authored
      - Add a "parsable" mode to dotest.py that outputs test results in exactly the same format as clang's lit tests
      - Improve dosep script to output list of failing tests (output should look like clang test failure summaries)
      - Cleanup lldb/test/Makefile to remove needless parameters and environment variables
      - Switch makefile tests to use parsable-mode output; should make the buildbot results parsable
      - Switch makefile tests to use dosep to log catch crashing tests (instead of halting the test suite)
      
      llvm-svn: 175309
      cbaef266
    • Daniel Malea's avatar
      More test case cleanup (Linux and Mac): · e78ecc2c
      Daniel Malea authored
      - remove expectedFailure decorator from resolved rdar 12566646 and 10887661
      - remove expectedFailure from TestBitfields testcase not actually affected by bug
      - skip the (non-deterministic) TestStopHookMechanism.py to avoid a noisy suite on Linux
      
      llvm-svn: 175307
      e78ecc2c
    • Daniel Malea's avatar
      Fix misuse of python subprocess module (caused "leaking" processes and garbling the terminal) · 2dd69bb5
      Daniel Malea authored
      - fixed cleanup of Popen objects by pushing spawn logic into test Base and out of test cases
      - connect subprocess stdin to PIPE (rather than the parent's STDIN) to fix silent terminal issue
      
      Tested on Linux and Mac OS X
      
      llvm-svn: 175301
      2dd69bb5
    • Daniel Malea's avatar
      Rename [Enable|Disable]Breakpoint() to [Enable|Disable]BreakpointSite() in POSIX plugin · b7eec015
      Daniel Malea authored
      - needed due to r175241
      
      llvm-svn: 175290
      b7eec015
    • Daniel Malea's avatar
      Linux test case cleanup: · 654b12c6
      Daniel Malea authored
      - Enable TestFormatters.py: expressions with "new" work
      - Enable TestChangeValueAPI.py: llvm.org/PR15039 fixed
      - Disable expression_command/call-restarts due to llvm.org/PR15278
      - Disable expression_command/call-throws due to ObjC test program
      
      llvm-svn: 175287
      654b12c6
    • Greg Clayton's avatar
      Added missing include. · 79978fc0
      Greg Clayton authored
      llvm-svn: 175279
      79978fc0
    • Filipe Cabecinhas's avatar
      Only enable RTTI for cxa_demangle.cpp · 2f4ed2a8
      Filipe Cabecinhas authored
      If testing on Linux+clang proves it needs RTTI, wa can remove the
      conditionals.
      
      llvm-svn: 175242
      2f4ed2a8
    • Jim Ingham's avatar
      A little cleanup. {Disable/Enable}Breakpoint actually disables/enables... · 299c0c1c
      Jim Ingham authored
      A little cleanup.  {Disable/Enable}Breakpoint actually disables/enables BreakpointSites not breakpoints, it is confusing
      to have it not named appropriately.  Also in StopInfoMachException, we aren't testing for software or not software, just
      whether the thing is a breakpoint we set.  So don't use "software"...
      
      llvm-svn: 175241
      299c0c1c
    • Enrico Granata's avatar
      Daniel Malea caught an issue where calling dotest.py with an invalid directory... · 8628bc59
      Enrico Granata authored
      Daniel Malea caught an issue where calling dotest.py with an invalid directory would cause the progressbar init code to raise an exception
      This commit fixes it
      
      llvm-svn: 175229
      8628bc59
    • Enrico Granata's avatar
      <rdar://problem/13204647> · 75dfb432
      Enrico Granata authored
      The SEL data formatter was working hard to ensure that pointers-to-selectors could be formatted by the same block of code. In that effort, we were taking the address-of a SEL.
      This operation fails when the SEL lives in a register, and was causing problems.
      The formatter has been fixed to work correctly without assuming &selector will be a valid object.
      
      llvm-svn: 175227
      75dfb432
    • Daniel Malea's avatar
      Fix TestSBData.py test case (tested fix Linux/Mac) · 8d7b7a43
      Daniel Malea authored
      - stop ignoring the error-codes in the 'error' variable
      - removed out-of-bounds accesses with read-only array fields such as:
      
        self.assertTrue(data2.uint8[6] == 0, 'binary 0 terminator')
      
      Since SBData wraps a (6-character) python string literal, trying to read the
      null-terminator raises an exception. Instead, I replaced the out-of-bounds
      read with a length-check.
      
      Other out-of-bounds reads (via accessor function like SBData.GetUnsignedInt8)
      don't throw and are OK. I just added asserts that errors are set for these
      negative cases.
      
      llvm-svn: 175223
      8d7b7a43
  5. Feb 14, 2013
Loading