1. Nov 22, 2011
    • Greg Clayton's avatar
      Save the arguments for a process launch in the target.run-args so they can · 162b597c
      Greg Clayton authored
      easily be used in the next run.
      
      llvm-svn: 145051
      162b597c
    • Greg Clayton's avatar
      Many GDB users always want to display disassembly when they stop by using · e372b98d
      Greg Clayton authored
      something like "display/4i $pc" (or something like this). With LLDB we already
      were showing 3 lines of source before and 3 lines of source after the current
      source line when showing a stop context. We now improve this by allowing the
      user to control the number of lines with the new "stop-line-count-before" and
      "stop-line-count-after" settings. Also, there is a new setting for how many
      disassembly lines to show: "stop-disassembly-count". This will control how many
      source lines are shown when there is no source or when we have no source line
      info. 
      
      settings set stop-line-count-before 3
      settings set stop-line-count-after 3
      settings set stop-disassembly-count 4
      settings set stop-disassembly-display no-source
      
      The default values are set as shown above and allow 3 lines of source before 
      and after (what we used to do) the current stop location, and will display 4 
      lines of disassembly if the source is not available or if we have no debug
      info. If both "stop-source-context-before" and "stop-source-context-after" are
      set to zero, this will disable showing any source when stopped. The 
      "stop-disassembly-display" setting is an enumeration that allows you to control
      when to display disassembly. It has 3 possible values:
      
      "never" - never show disassembly no matter what
      "no-source" - only show disassembly when there is no source line info or the source files are missing
      "always" - always show disassembly.
      
      llvm-svn: 145050
      e372b98d
    • Richard Smith's avatar
      Add stub section to the user manual for C++ language features, and document · f13b8558
      Richard Smith authored
      -ftemplate-depth= and -fconstexpr-depth= in it.
      
      llvm-svn: 145049
      f13b8558
    • Sebastian Pop's avatar
      fix typo in comment · 74e1bc79
      Sebastian Pop authored
      llvm-svn: 145048
      74e1bc79
    • Nick Lewycky's avatar
      Fix crasher in GVN due to my recent capture tracking changes. · 063ae589
      Nick Lewycky authored
      llvm-svn: 145047
      063ae589
    • Richard Smith's avatar
      Add driver arguments -ftemplate-depth=N and -fconstexpr-depth=N, with the same · 9a56882e
      Richard Smith authored
      semantics and defaults as the corresponding g++ arguments. The historical g++
      argument -ftemplate-depth-N is kept for compatibility, but modern g++ versions
      no longer document that option.
      
      Add -cc1 argument -fconstexpr-depth N to implement the corresponding
      functionality.
      
      The -ftemplate-depth=N part of this fixes PR9890.
      
      llvm-svn: 145045
      9a56882e
    • Nick Lewycky's avatar
      Add virtual destructor. Whoops! · aa2a00db
      Nick Lewycky authored
      llvm-svn: 145044
      aa2a00db
    • Roman Divacky's avatar
      Change the linker emulation name for FreeBSD/PPC32. · d150ad3f
      Roman Divacky authored
      Submitted by Andreas Tobler!
      
      llvm-svn: 145041
      d150ad3f
  2. Nov 21, 2011
  3. Nov 20, 2011
  4. Nov 19, 2011
    • Abramo Bagnara's avatar
      Fixed HadMultipleCandidates loading. · 5001caa1
      Abramo Bagnara authored
      llvm-svn: 144995
      5001caa1
    • Chandler Carruth's avatar
      Move the handling of unanalyzable branches out of the loop-driven chain · f3dc9eff
      Chandler Carruth authored
      formation phase and into the initial walk of the basic blocks. We
      essentially pre-merge all blocks where unanalyzable fallthrough exists,
      as we won't be able to update the terminators effectively after any
      reorderings. This is quite a bit more principled as there may be CFGs
      where the second half of the unanalyzable pair has some analyzable
      predecessor that gets placed first. Then it may get placed next,
      implicitly breaking the unanalyzable branch even though we never even
      looked at the part that isn't analyzable. I've included a test case that
      triggers this (thanks Benjamin yet again!), and I'm hoping to synthesize
      some more general ones as I dig into related issues.
      
      Also, to make this new scheme work we have to be able to handle branches
      into the middle of a chain, so add this check. We always fallback on the
      incoming ordering.
      
      Finally, this starts to really underscore a known limitation of the
      current implementation -- we don't consider broken predecessors when
      merging successors. This can caused major missed opportunities, and is
      something I'm planning on looking at next (modulo more bug reports).
      
      llvm-svn: 144994
      f3dc9eff
    • Benjamin Kramer's avatar
      Driver: Remove the signal number from the "command failed" diagnostic. · 78243600
      Benjamin Kramer authored
      - With the current implementation of sys::Program this always printed "2".
      - The command execution code will output the right number anyway (including the signal name).
      
      llvm-svn: 144993
      78243600
    • Douglas Gregor's avatar
      6cdda3bd