Skip to content
  1. Oct 12, 2011
    • Greg Clayton's avatar
      d4e2552c
    • Sean Callanan's avatar
      Implemented a namespace map that allows searching · 503aa525
      Sean Callanan authored
      of namespaces (only in the modules where they've
      been found) for entities inside those namespaces.
      
      For each NamespaceDecl that has been imported into
      the parser, we maintain a map containing
      [ModuleSP, ClangNamespaceDecl] pairs in the ASTImporter.
      This map has one entry for each module in which the
      namespace has been found.  When we later scan for an
      entity inside a namespace, we search only the modules
      in which that namespace was found.
      
      Also made a small whitespace fix in 
      ClangExpressionParser.cpp.
      
      llvm-svn: 141748
      503aa525
  2. Oct 11, 2011
  3. Oct 08, 2011
  4. Oct 07, 2011
    • Greg Clayton's avatar
      c28416d7
    • Greg Clayton's avatar
      Re-organized the contents of RangeMap.h to be more concise and also allow for... · cf0e4f0d
      Greg Clayton authored
      Re-organized the contents of RangeMap.h to be more concise and also allow for a Range, RangeArray, RangeData (range + data), or a RangeDataArray. We have many range implementations in LLDB and I will be converting over to using the classes in RangeMap.h so we can have one set of code that does ranges and searching  of ranges.
      
      Fixed up DWARFDebugAranges to use the new range classes.
      
      Fixed the enumeration parsing to take a lldb_private::Error to avoid a lot of duplicated code. Now when an invalid enumeration is supplied, an error will be returned and that error will contain a list of the valid enumeration values.
      
      llvm-svn: 141382
      cf0e4f0d
    • Greg Clayton's avatar
      Since we use address ranges a lot I added a templatized class that allows us... · c26e4454
      Greg Clayton authored
      Since we use address ranges a lot I added a templatized class that allows us to easily control the base address type, the size type, and the data that is stored with each range. It is designed to be populated by appending all needed items, then sorting the resulting list, and optionally minimizing the list when done. I adopted this new list in the DWARFDebugAranges for even further memory savings.
      
      llvm-svn: 141352
      c26e4454
    • Greg Clayton's avatar
      <rdar://problem/10226227> · 5f4c61e2
      Greg Clayton authored
      Fixed the root cause of what was causing an assertion to fire during single stepping. We had an issue with the inlined stack frames where when we had inlined frames that were not in the first concrete frame where we passed the wrong PC down. We needed to decrement the PC by one for these frames to make
      sure we are using the same address that did the symbol context lookup.
      
      llvm-svn: 141349
      5f4c61e2
    • Greg Clayton's avatar
      f8843bf5
    • Greg Clayton's avatar
      <rdar://problem/10226227> · 70a11261
      Greg Clayton authored
      Fixed an assertion that was causing a crash. The bug describes a case where we have an inlined block that doesn't contain the frame PC that was used to lookup the symbol context in the first place. This really shouldn't happen, so
      now we log if we run into this and don't assert.
      
      llvm-svn: 141338
      70a11261
  5. Oct 06, 2011
  6. Oct 05, 2011
  7. Oct 03, 2011
  8. Oct 01, 2011
Loading