[all-commits] [llvm/llvm-project] c352a2: [lli] Add option -lljit-platform=Inactive to disab...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Tue Mar 30 00:30:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c352a2b8290b0a088ac3442aca89380248f02381
      https://github.com/llvm/llvm-project/commit/c352a2b8290b0a088ac3442aca89380248f02381
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
    M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
    M llvm/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll
    M llvm/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
    M llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
    M llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
    M llvm/tools/lli/lli.cpp

  Log Message:
  -----------
  [lli] Add option -lljit-platform=Inactive to disable platform support explicitly

This option tells LLJIT to disable platform support explicitly: JITDylibs aren't scanned for special init/deinit symbols and no runtime API interposes are injected.
It's useful in two cases: for platforms that don't have such requirements and platforms for which we have no explicit support yet and that don't work well with the generic IR platform.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D99416




More information about the All-commits mailing list