Skip to content
  • Lang Hames's avatar
    [ORC] Replace SymbolResolvers in the new ORC layers with search orders on VSOs. · fd0c1e71
    Lang Hames authored
    A search order is a list of VSOs to be searched linearly to find symbols. Each
    VSO now has a search order that will be used when fixing up definitions in that
    VSO. Each VSO's search order defaults to just that VSO itself.
    
    This is a first step towards removing symbol resolvers from ORC altogether. In
    practice symbol resolvers tended to be used to implement a search order anyway,
    sometimes with additional programatic generation of symbols. Now that VSOs
    support programmatic generation of definitions via fallback generators, search
    orders provide a cleaner way to achieve the desired effect (while removing a lot
    of boilerplate).
    
    llvm-svn: 337593
    fd0c1e71
Loading