Skip to content
  1. Oct 15, 2010
    • Devang Patel's avatar
      Use root non-virtual primary base class, not just immediate primary base... · 0f585619
      Devang Patel authored
      Use root non-virtual primary base class, not just immediate primary base class, for AT_containing_type.
      This is tested by virtfunc.exp in gdb testsuite.
      
      llvm-svn: 116535
      0f585619
    • Jim Grosbach's avatar
      Refactor the MOVsr[al]_flag and RRX pseudo-instructions to really be pseudos · 8b6a9c15
      Jim Grosbach authored
      and let the ARMExpandPseudoInsts pass fix them up into the real (MOVs)
      instruction form.
      
      llvm-svn: 116534
      8b6a9c15
    • Dan Gohman's avatar
      Tolerate a null parent pointer. · 31a01ee3
      Dan Gohman authored
      llvm-svn: 116533
      31a01ee3
    • Greg Clayton's avatar
      Fixed an expression parsing issue where if you were stopped somewhere without · 8f92f0a3
      Greg Clayton authored
      debug information and you evaluated an expression, a crash would occur as a
      result of an unchecked pointer.
      
      Added the ability to get the expression path for a ValueObject. For a rectangle
      point child "x" the expression path would be something like: "rect.top_left.x".
      This will allow GUI and command lines to get ahold of the expression path for
      a value object without having to explicitly know about the hierarchy. This
      means the ValueObject base class now has a "ValueObject *m_parent;" member.
      All ValueObject subclasses now correctly track their lineage and are able
      to provide value expression paths as well.
      
      Added a new "--flat" option to the "frame variable" to allow for flat variable
      output. An example of the current and new outputs:
      
      (lldb) frame variable 
      argc = 1
      argv = 0x00007fff5fbffe80
      pt = {
        x = 2
        y = 3
      }
      rect = {
        bottom_left = {
          x = 1
          y = 2
        }
        top_right = {
          x = 3
          y = 4
        }
      }
      (lldb) frame variable --flat 
      argc = 1
      argv = 0x00007fff5fbffe80
      pt.x = 2
      pt.y = 3
      rect.bottom_left.x = 1
      rect.bottom_left.y = 2
      rect.top_right.x = 3
      rect.top_right.y = 4
      
      
      As you can see when there is a lot of hierarchy it can help flatten things out.
      Also if you want to use a member in an expression, you can copy the text from
      the "--flat" output and not have to piece it together manually. This can help
      when you want to use parts of the STL in expressions:
      
      (lldb) frame variable --flat
      argc = 1
      argv = 0x00007fff5fbffea8
      hello_world._M_dataplus._M_p = 0x0000000000000000
      (lldb) expr hello_world._M_dataplus._M_p[0] == '\0'
      
      llvm-svn: 116532
      8f92f0a3
    • Dan Gohman's avatar
      Wire up the -fstrict-aliasing and -fno-strict-aliasing options · 10169b94
      Dan Gohman authored
      to CodeGenOption flags.
      
      llvm-svn: 116530
      10169b94
    • John McCall's avatar
      template-ids are looked up differently in friend declarations. · f4776590
      John McCall authored
      llvm-svn: 116529
      f4776590
    • Douglas Gregor's avatar
      When performing typo correction, look through the set of known · 57756eab
      Douglas Gregor authored
      identifiers to determine good typo-correction candidates. Once we've
      identified those candidates, we perform name lookup on each of them
      and the consider the results. 
      
      This optimization makes typo correction > 2x faster on a benchmark
      example using a single typo (NSstring) in a tiny file that includes
      Cocoa.h from a precompiled header, since we are deserializing far less
      information now during typo correction.
      
      There is a semantic change here, which is interesting. The presence of
      a similarly-named entity that is not visible can now affect typo
      correction. This is both good (you won't get weird corrections if the
      thing you wanted isn't in scope) and bad (you won't get good
      corrections if there is a similarly-named-but-completely-unrelated
      thing). Time will tell whether it was a good choice or not.
      
      llvm-svn: 116528
      57756eab
    • Douglas Gregor's avatar
      Make sure that we diagnose invalid qualifiers on friend functions. · c3bbf48f
      Douglas Gregor authored
      llvm-svn: 116527
      c3bbf48f
  2. Oct 14, 2010
Loading