Skip to content
  1. Sep 13, 2018
  2. Sep 12, 2018
    • Vedant Kumar's avatar
      [llvm-cov] Delete custom JSON serialization code (NFC) · 2963c490
      Vedant Kumar authored
      Teach llvm-cov to use the new llvm JSON library, and remove some
      redundant/brittle JSON serialization tests.
      
      llvm-svn: 342088
      2963c490
    • Lang Hames's avatar
      [ORC] Merge ExecutionSessionBase with ExecutionSession by moving a couple of · 8be0d2e3
      Lang Hames authored
      template methods in JITDylib out-of-line.
      
      This also splits JITDylib::define into a pair of template methods, one taking an
      lvalue reference and the other an rvalue reference. This simplifies the
      templates at the cost of a small amount of code duplication.
      
      llvm-svn: 342087
      8be0d2e3
    • Lang Hames's avatar
      [ORC] Add a special 'main' JITDylib that is created on ExecutionSession · 13014d3c
      Lang Hames authored
      construction, a new convenience lookup method, and add-to layer methods.
      
      ExecutionSession now creates a special 'main' JITDylib upon construction. All
      subsequently created JITDylibs are added to the main JITDylib's search order by
      default (controlled by the AddToMainDylibSearchOrder parameter to
      ExecutionSession::createDylib). The main JITDylib's search order will be used in
      the future to properly handle cross-JITDylib weak symbols, with the first
      definition in this search order selected.
      
      This commit also adds a new ExecutionSession::lookup convenience method that
      performs a blocking lookup using the main JITDylib's search order, as this will
      be a very common operation for clients.
      
      Finally, new convenience overloads of IRLayer and ObjectLayer's add methods are
      introduced that add the given program representations to the main dylib, which
      is likely to be the common case.
      
      llvm-svn: 342086
      13014d3c
Loading