Skip to content
  1. Oct 24, 2013
  2. Oct 23, 2013
  3. Oct 22, 2013
    • Manman Ren's avatar
      Debug Info: code clean up. · 642a0acc
      Manman Ren authored
      Remove unnecessary creation of LexicalScope in collectDeadVariables.
      The created LexicialScope was only used to get isAbstractScope, which
      should be false from the creation:
      "new LexicalScope(NULL, DIDescriptor(SP), NULL, false);".
      
      We can also remove a DenseMap that holds the created LexicalScopes.
      
      llvm-svn: 193196
      642a0acc
    • David Blaikie's avatar
      DIEHashing: Provide an assert for unreachable functionality regarding friends. · 5ebc54d9
      David Blaikie authored
      Since (as of r190716) Clang no longer emits debug info for C++ friend
      declarations (and it seems GCC never has/does, which was the motivation
      for the Clang change), there's no actual reachable case for implementing
      the part of DWARF 4, Section 7.27 part 5 that pertains to friends.
      
      Leave an assert here so that if/when we do have a client producing
      friends and using type units, we can fill in the gap and add appropriate
      (unit and feature) tests.
      
      llvm-svn: 193193
      5ebc54d9
    • David Blaikie's avatar
      DWARF type hashing: pointers to members · d70a0553
      David Blaikie authored
      Includes a test case/FIXME demonstrating a bug/limitation in pointer to
      member hashing. To be honest I'm not sure why we don't just always use
      summary hashing for referenced types... but perhaps I'm missing
      something.
      
      llvm-svn: 193175
      d70a0553
    • Wan Xiaofei's avatar
      Using FoldingSet in SelectionDAG::getVTList. · 2f8dc08b
      Wan Xiaofei authored
      VTList has a long life cycle through the module and getVTList is frequently called. In current getVTList, sequential search over a std::vector is used, this is inefficient in big module.
      This patch use FoldingSet to implement hashing mechanism when searching.
      
      Reviewer: Nadav Rotem
      Test    : Pass unit tests & LNT test suite
      
      llvm-svn: 193150
      2f8dc08b
    • Eric Christopher's avatar
      Formatting/whitespace. · c798d8ad
      Eric Christopher authored
      llvm-svn: 193135
      c798d8ad
    • David Blaikie's avatar
      DWARF Type Hashing: Include reference and rvalue reference type in the... · fe3233a5
      David Blaikie authored
      DWARF Type Hashing: Include reference and rvalue reference type in the declarable summary hashing path
      
      More support for 7.25 Part 5.
      
      llvm-svn: 193129
      fe3233a5
    • David Blaikie's avatar
      DWARF type hashing: begin implementing Step 5, summary hashing in declarable contexts · 6cf58c89
      David Blaikie authored
      There are several other tag types that need similar handling but to
      ensure test coverage they'll be coming incrementally.
      
      llvm-svn: 193126
      6cf58c89
  4. Oct 21, 2013
  5. Oct 20, 2013
    • Peter Collingbourne's avatar
      Emit prefix data after debug and EH directives. · e9f45e25
      Peter Collingbourne authored
      This ensures that the prefix data is treated as part of the function for
      the purpose of debug info.  This provides a better debugging experience,
      among other things by allowing a debug info client to correctly look up
      a function in debug info given a function pointer.
      
      llvm-svn: 193042
      e9f45e25
  6. Oct 19, 2013
  7. Oct 18, 2013
  8. Oct 17, 2013
Loading