[all-commits] [llvm/llvm-project] b7be6b: [lli] Add a '-dlopen <library-path>' option to lli.

lhames via All-commits all-commits at lists.llvm.org
Fri Feb 14 15:01:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b7be6b480b8681902e4b7aa4eb479ccedbde1990
      https://github.com/llvm/llvm-project/commit/b7be6b480b8681902e4b7aa4eb479ccedbde1990
  Author: Lang Hames <lhames at gmail.com>
  Date:   2020-02-14 (Fri, 14 Feb 2020)

  Changed paths:
    M llvm/tools/lli/lli.cpp

  Log Message:
  -----------
  [lli] Add a '-dlopen <library-path>' option to lli.

Passing '-dlopen <library-path>' to lli will cause the specified library to be
loaded (via llvm::sys::DynamicLibrary::LoadLibraryPermanently) before JIT'd code
is executed, making the library's symbols accessible to JIT'd code.




More information about the All-commits mailing list