Skip to content
  1. Jan 20, 2012
  2. Jan 19, 2012
  3. Jan 18, 2012
  4. Jan 17, 2012
  5. Jan 16, 2012
  6. Jan 14, 2012
    • Greg Clayton's avatar
      Bumped xcode project versions for lldb-106 and debugserver-165 · 907018f0
      Greg Clayton authored
      llvm-svn: 148202
      907018f0
    • Greg Clayton's avatar
      <rdar://problem/9731573> · 32720b51
      Greg Clayton authored
      Fixed two double "int close(int fd)" issues found by our file descriptor
      interposing library on darwin:
      
      The first is in SBDebugger::SetInputFileHandle (FILE *file, bool transfer_ownership)
      where we would give our FILE * to a lldb_private::File object member variable and tell
      it that it owned the file descriptor if "transfer_ownership" was true, and then we
      would also give it to the communication plug-in that waits for stdin to come in and
      tell it that it owned the FILE *. They would both try and close the file.
      
      The seconds was when we use a file descriptor through ConnectionFileDescriptor 
      where someone else is creating a connection with ConnectionFileDescriptor and a URL
      like: "fd://123". We were always taking ownwership of the fd 123, when we shouldn't
      be. There is a TODO in the comments that says we should allow URL options to be passed
      to be able to specify this later (something like: "fd://123?transer_ownership=1"), but
      we can get to this later.
      
      llvm-svn: 148201
      32720b51
    • Sean Callanan's avatar
      I forgot to import a header file change. This · 36fa92af
      Sean Callanan authored
      should fix builds.
      
      llvm-svn: 148199
      36fa92af
    • Greg Clayton's avatar
      Added some fixes for the fd interposing dylib: · 662125ae
      Greg Clayton authored
      - don't strip too many frames from the backtrace when logging close backtraces
      - cleanup some logging messages
      
      llvm-svn: 148195
      662125ae
    • Greg Clayton's avatar
      <rdar://problem/10684141> · ccbc08e6
      Greg Clayton authored
      When the lldb_private::Debugger goes away, it should cleanup all
      of its targets.
      
      llvm-svn: 148189
      ccbc08e6
  7. Jan 13, 2012
    • Sean Callanan's avatar
      I made two major improvements to the way the · cbbe3ac4
      Sean Callanan authored
      master AST importer imports types.
      
      - First, before importing the definition of a
        Decl from its source, notify the underlying
        importer of the source->destination mapping.
        Especially for anonymous strucutres that are
        otherwise hard to unique in the target AST
        context, this hint is very helpful.
      
      - When deporting a type or Decl from one
        ASTContext to another (deporting occurs in
        the case of moving result types from the
        parser's AST context to the result AST
        context), don't forget their origin if the
        origin is the original debug information.
      
      llvm-svn: 148152
      cbbe3ac4
    • Sean Callanan's avatar
      Only create new ASTImporters on demand, not · ba5be17e
      Sean Callanan authored
      proactively.
      
      llvm-svn: 148146
      ba5be17e
    • Sean Callanan's avatar
      If the name of a struct or union is NULL in the · 7282e2ac
      Sean Callanan authored
      debug info, call it anonymous.  This isn't
      perfect, because Clang actually considers the
      following struct not to be anonymous:
      –
      struct {
        int x;
        int y;
      } g_foo;
      -
      but DWARF doesn't make the distinction.
      
      llvm-svn: 148145
      7282e2ac
    • Sean Callanan's avatar
      Fixed some logging in the AST source and added · a6e61a78
      Sean Callanan authored
      more information.
      
      llvm-svn: 148144
      a6e61a78
Loading