Skip to content
  • Manman Ren's avatar
    Debug Info: Use DIScopeRef for DIType::getContext. · 116868ea
    Manman Ren authored
        
    In DIBuilder, the context field of a TAG_member is updated to use the
    scope reference. Verifier is updated accordingly.
        
    DebugInfoFinder now needs to generate a type identifier map to have
    access to the actual scope. Same applies for BreakpointPrinter.
        
    processModule of DebugInfoFinder is called during initialization phase
    of the verifier to make sure the type identifier map is constructed early
    enough.
        
    We are now able to unique a simple class as demonstrated by the added
    testing case.
    
    llvm-svn: 190334
    116868ea
Loading