[all-commits] [llvm/llvm-project] 1286bb: [ORC][examples] Export exectuable symbols explicit...

Stefan Gränitz via All-commits all-commits at lists.llvm.org
Thu Sep 23 12:40:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1286bbc85f421dbdcab430674783bde17b15ba0d
      https://github.com/llvm/llvm-project/commit/1286bbc85f421dbdcab430674783bde17b15ba0d
  Author: Stefan Gränitz <stefan.graenitz at gmail.com>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M llvm/examples/OrcV2Examples/LLJITWithExecutorProcessControl/CMakeLists.txt

  Log Message:
  -----------
  [ORC][examples] Export exectuable symbols explicitly in LLJITWithExecutorProcessControl

Functions in static code that should be callable from JITed code must be exported. For dynamic libraries extern functions are exported by default. For exectuables, linkers usually strip them away unless we explicitly ask for keeping them.

Reviewed By: xgupta

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




More information about the All-commits mailing list