Skip to content
  1. Sep 05, 2013
  2. Aug 29, 2013
    • Ed Maste's avatar
      Enable MCJIT on FreeBSD · c4dff6fe
      Ed Maste authored
      Testing shows it works for at least trivial cases, while the
      USE_STANDARD_JIT case does not even work for those.  Thus, don't define
      USE_STANDARD_JIT on FreeBSD.
      
      I've left the #if block choosing the appropriate #include in case it's
      useful for testing.
      
      llvm-svn: 189611
      c4dff6fe
  3. Aug 28, 2013
  4. Aug 23, 2013
  5. Aug 07, 2013
  6. Jul 31, 2013
  7. Jul 30, 2013
  8. Jul 29, 2013
    • Ashok Thirumurthi's avatar
      Adds a DW_OP_call_frame_cfa handler when evaluating DWARF 3/4 expressions · 6e264d39
      Ashok Thirumurthi authored
      in LLDB that load the canonical frame address rather than a location list.
      
      - Handles the simple case where a CFA can be pulled from the current stack frame.
      - Fixes more than one hundred failing tests with gcc 4.8!
      
      TODO: Use UnwindPlan::GetRowForFunctionOffset if the DWARFExpression needs
      to be evaluated in a context analogous to a virtual unwind (perhaps using RegisterContextLLDB).
      
      - Also adds some comments to DWARFCallFrameInfo whenever I got confused.
      
      llvm-svn: 187361
      6e264d39
  9. Jul 23, 2013
    • Stefanus Du Toit's avatar
      Remove builtin attribute from calls whose targets we replace · fc6b7a0e
      Stefanus Du Toit authored
      If we are replacing a function with the nobuiltin attribute, it may be called
      with the builtin attribute on call sites. Remove any such attributes since it's
      illegal to have a builtin call to something other than a nobuiltin function.
      
      This fixes the current buildbot breakage (where LLDB crashes on
      "expression new foo(42)").
      
      llvm-svn: 186990
      fc6b7a0e
  10. Jul 16, 2013
  11. Jul 15, 2013
  12. Jul 13, 2013
    • Sean Callanan's avatar
      Modified the expression parser to only try to · d2a507a6
      Sean Callanan authored
      write to registers if they were modified in the
      expression.  This eliminates spurious errors if
      the register can't be written to but the
      expression didn't write to it anyway.
      
      Also improved error handling for the materializer
      to make "couldn't materialize struct" errors more
      informative.
      
      <rdar://problem/14322579>
      
      llvm-svn: 186228
      d2a507a6
  13. Jul 12, 2013
    • Greg Clayton's avatar
      Huge change to clean up types. · 57ee3067
      Greg Clayton authored
      A long time ago we start with clang types that were created by the symbol files and there were many functions in lldb_private::ClangASTContext that helped. Later we create ClangASTType which contains a clang::ASTContext and an opauque QualType, but we didn't switch over to fully using it. There were a lot of places where we would pass around a raw clang_type_t and also pass along a clang::ASTContext separately. This left room for error.
      
      This checkin change all type code over to use ClangASTType everywhere and I cleaned up the interfaces quite a bit. Any code that was in ClangASTContext that was type related, was moved over into ClangASTType. All code that used these types was switched over to use all of the new goodness.
      
      llvm-svn: 186130
      57ee3067
  14. Jul 10, 2013
    • Greg Clayton's avatar
      Cleanup on the unified section list changes. Main changes are: · 3046e668
      Greg Clayton authored
      - ObjectFile::GetSymtab() and ObjectFile::ClearSymtab() no longer takes any flags
      - Module coordinates with the object files and contain a unified section list so that object file and symbol file can share sections when they need to, yet contain their own sections.
      
      Other cleanups:
      - Fixed Symbol::GetByteSize() to not have the symbol table compute the byte sizes on the fly
      - Modified the ObjectFileMachO class to compute symbol sizes all at once efficiently
      - Modified the Symtab class to store a file address lookup table for more efficient lookups
      - Removed Section::Finalize() and SectionList::Finalize() as they did nothing
      - Improved performance of the detection of symbol files that have debug maps by excluding stripped files and core files, debug files, object files and stubs
      - Added the ability to tell if an ObjectFile has been stripped with ObjectFile::IsStripped() (used this for the above performance improvement)
      
      llvm-svn: 185990
      3046e668
  15. Jul 03, 2013
  16. Jun 29, 2013
  17. Jun 28, 2013
    • Sean Callanan's avatar
      Hitherto the IRForTarget infrastructure has mainly · 1f9db3eb
      Sean Callanan authored
      been suitable for preparing a single IR function
      for operation in the target.  However, using blocks
      and lambdas creates other IR functions that also
      need to be processed.
      
      I have audited IRForTarget to make it process
      multiple functions.  Where IRForTarget would add
      new instructions at the beginning of the main
      expression function, it now adds them on-demand
      in the function where they are needed.  This is
      enabled by a system of FunctionValueCaches, which
      invoke a lambda to create or derive the values as
      needed, or report the result of that lambda if it
      has already been called for the given function.
      
      <rdar://problem/14180236>
      
      llvm-svn: 185224
      1f9db3eb
    • Greg Clayton's avatar
      Default parameters are evil and should not be used. Case and point this... · 0d551045
      Greg Clayton authored
      Default parameters are evil and should not be used. Case and point this checkin that fixes implicit conversions that were happening.
      
      llvm-svn: 185217
      0d551045
  18. Jun 27, 2013
  19. Jun 26, 2013
  20. Jun 20, 2013
  21. Jun 19, 2013
  22. Jun 17, 2013
  23. Jun 14, 2013
  24. Jun 13, 2013
  25. Jun 06, 2013
  26. Jun 04, 2013
  27. Jun 03, 2013
Loading