Skip to content
  1. Nov 08, 2011
  2. Nov 07, 2011
    • Enrico Granata's avatar
      this patch addresses several issues with "command script" subcommands: · 0a305db7
      Enrico Granata authored
       a) adds a new --synchronicity (-s) setting for "command script add" that allows the user to decide if scripted commands should run synchronously or asynchronously (which can make a difference in how events are handled)
       b) clears up several error messages
       c) adds a new --allow-reload (-r) setting for "command script import" that allows the user to reload a module even if it has already been imported before
       d) allows filename completion for "command script import" (much like what happens for "target create")
       e) prevents "command script add" from replacing built-in commands with scripted commands
       f) changes AddUserCommand() to take an std::string instead of a const char* (for performance reasons)
      plus, it fixes an issue in "type summary add" command handling which caused several test suite errors
      
      llvm-svn: 144035
      0a305db7
    • Greg Clayton's avatar
      Bumped Xcode project version for lldb-86 and debugserver-151 · 44148b36
      Greg Clayton authored
      llvm-svn: 144032
      44148b36
    • Greg Clayton's avatar
      Xcode project changes to install "lldb" into "/usr/bin" and have LLDB.framework · c64b5c7c
      Greg Clayton authored
      in "/System/Library/PrivateFrameworks", and also have "lldb" in the Xcode.app
      and the LLDB.framework in Xcode.app as well.
      
      llvm-svn: 144030
      c64b5c7c
  3. Nov 05, 2011
  4. Nov 04, 2011
    • Sean Callanan's avatar
      Updated LLVM/Clang to pick up a fix for imports of · bfb237bc
      Sean Callanan authored
      C++ vtables, fixing a record layout problem in the
      expression parser.
      
      Also fixed various problems with the generation 
      and unpacking of llvm.zip given our new better
      handling of multiple architectures in the LLVM
      build.
      
      (And added a log message that will hopefully catch
      record layout problems in the future.)
      
      llvm-svn: 143741
      bfb237bc
    • Greg Clayton's avatar
      For "Debug" and "Release" builds, don't build llvm into the $(OBJROOT) since · 9a67c268
      Greg Clayton authored
      we often nuke our "build" folder so we can do clean builds. This way if you
      are building your own LLVM you won't have to rebuild LLVM when you do remove
      your build folder. The new location for the LLVM build is:
      
      lldb/llvm-build
      
      llvm-svn: 143713
      9a67c268
    • Greg Clayton's avatar
      Fixed the LD_DYLIB_INSTALL_NAME to the LLDB.framework. · 755c73f1
      Greg Clayton authored
      llvm-svn: 143710
      755c73f1
    • Benjamin Kramer's avatar
      Fix linux build after r143679. · 44030f12
      Benjamin Kramer authored
      llvm-svn: 143703
      44030f12
    • Benjamin Kramer's avatar
      Include limits.h for PATH_MAX. · 110f5039
      Benjamin Kramer authored
      llvm-svn: 143694
      110f5039
    • Greg Clayton's avatar
      Fixed a build issue on an older Xcode. · 0ddf6be1
      Greg Clayton authored
      llvm-svn: 143679
      0ddf6be1
    • Greg Clayton's avatar
      Fixed the Xcode project building of LLVM to be a bit more user friendly: · dce502ed
      Greg Clayton authored
      - If you download and build the sources in the Xcode project, x86_64 builds
        by default using the "llvm.zip" checkpointed LLVM.
      - If you delete the "lldb/llvm.zip" and the "lldb/llvm" folder, and build the
        Xcode project will download the right LLVM sources and build them from 
        scratch
      - If you have a "lldb/llvm" folder already that contains a "lldb/llvm/lib"
        directory, we will use the sources you have placed in the LLDB directory.
        
      Python can now be disabled for platforms that don't support it. 
      
      Changed the way the libllvmclang.a files get used. They now all get built into
      arch specific directories and never get merged into universal binaries as this
      was causing issues where you would have to go and delete the file if you wanted
      to build an extra architecture slice.
      
      llvm-svn: 143678
      dce502ed
    • Sean Callanan's avatar
      Occasionally LLDB runs into contexts where the · 744756e3
      Sean Callanan authored
      target is stopped in a C++ or Objective-C method
      but the "self" pointer's valid range actually
      doesn't cover the current location.  Before, that
      was confusing Clang to the point where it crashed;
      now, we sanity-check and fall back to pretending
      we're in a C function if "self" or "this" isn't
      available.
      
      llvm-svn: 143676
      744756e3
    • Johnny Chen's avatar
      Add a utility script: · e79a8d3d
      Johnny Chen authored
      Greps and returns the first svn log entry containing a line matching the regular
      expression pattern passed as the only arg.
      
      Example:
      
      svn log -v | grep-svn-log.py '^   D.+why_are_you_missing.h$'
      
      llvm-svn: 143671
      e79a8d3d
  5. Nov 03, 2011
  6. Nov 02, 2011
    • Benjamin Kramer's avatar
      Try to unbreak Makefile builds. · 4832e297
      Benjamin Kramer authored
      llvm-svn: 143566
      4832e297
    • Sean Callanan's avatar
      Updated LLVM/Clang to pull in an MCJIT fix that · c832475c
      Sean Callanan authored
      allows us to set __attribute__ ((used)) on expressions
      that masquerade as methods.  When we are stopped in
      classes in anonymous namespaces, this fix (and enabling
      __attribute__ ((used)) on the method) will allow
      expressions to run.
      
      llvm-svn: 143560
      c832475c
    • Greg Clayton's avatar
      <rdar://problem/10020849> · 8b867b47
      Greg Clayton authored
      Fixed an issue where the DWARF might mention that a class has a constructor
      (default, copy or move), destructor, or an assignment operator (copy or move)
      and it might not have an actual implementation in your code. Then you try and
      use this struct or class in an expression and the JIT would ask for the 
      address of these methods that were in the declaration, yet there are none.
      We now "do the right thing" for trivial ctors, dtors and assignment operators
      by telling the methods that they are are defaulted and trivial, and clang will
      then just do all of the work with builtins!
      
      llvm-svn: 143528
      8b867b47
    • Sean Callanan's avatar
      Sometimes the debug information includes artifically- · dbb58399
      Sean Callanan authored
      generated special member functions (constructors,
      destructors, etc.) for classes that don't really have
      them.  We needed to mark these as artificial to reflect
      the debug information; this bug does that for
      constructors and destructors.
      
      The "etc." case (certain assignment operators, mostly)
      remains to be fixed.
      
      llvm-svn: 143526
      dbb58399
    • Sean Callanan's avatar
      Added functionality to call Objective-C class methods · fc89c142
      Sean Callanan authored
      correctly, and added a testcase to check that it works.
      
      The main problem here is that Objective-C class method
      selectors are external references stored in a special
      data structure in the LLVM IR module for an expression.
      I just had to extract them and ensure that the real
      class object locations were properly resolved.
      
      llvm-svn: 143520
      fc89c142
  7. Nov 01, 2011
    • Johnny Chen's avatar
      Add bench entries. · a8df2c7a
      Johnny Chen authored
      llvm-svn: 143476
      a8df2c7a
    • Johnny Chen's avatar
      Change the expected substrings for 'frame variable' output to: · 5e27d5e0
      Johnny Chen authored
          '::my_uint_t', 'anon_uint = 0'
      
      from:
      
          '(my_uint_t) anon_uint = 0'
      
      to make the test suite clean with ToT.
      
      llvm-svn: 143474
      5e27d5e0
    • Sean Callanan's avatar
      Added the capability (turned off for now) to mark a · c1b732d7
      Sean Callanan authored
      method as __attribute__ ((used)) when adding it to a
      class.  This functionality is useful when stopped in
      anonymous namespaces: expressions attached to classes
      in anonymous namespaces are typically elided by Clang's
      CodeGen because they have no namespaces are intended
      not to be externally visible.  __attribute__ ((used))
      forces CodeGen to emit the function.
      
      Right now, __attribute__ ((used)) causes the JIT not to
      emit the function, so we're not enabling it until we
      fix that.
      
      llvm-svn: 143469
      c1b732d7
Loading