Skip to content
  • Greg Clayton's avatar
    Made a ModuleSpec class in Module.h which can specify a module using one or · b9a01b39
    Greg Clayton authored
    more of the local path, platform path, associated symbol file, UUID, arch,
    object name and object offset. This allows many of the calls that were
    GetSharedModule to reduce the number of arguments that were used in a call
    to these functions. It also allows a module to be created with a ModuleSpec
    which allows many things to be specified prior to any accessors being called
    on the Module class itself. 
    
    I was running into problems when adding support for "target symbol add"
    where you can specify a stand alone debug info file after debugging has started
    where I needed to specify the associated symbol file path and if I waited until
    after construction, the wrong  symbol file had already been located. By using
    the ModuleSpec it allows us to construct a module with as little or as much
    information as needed and not have to change the parameter list.
    
    llvm-svn: 151476
    b9a01b39
Loading