[all-commits] [llvm/llvm-project] 7c36b4: [llvm-jitlink] Move statistics code into a separat...

lhames via All-commits all-commits at lists.llvm.org
Mon Jul 24 09:14:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c36b416b6b1f8ff9a689ad4c33ef921259d04d5
      https://github.com/llvm/llvm-project/commit/7c36b416b6b1f8ff9a689ad4c33ef921259d04d5
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M llvm/tools/llvm-jitlink/CMakeLists.txt
    A llvm/tools/llvm-jitlink/llvm-jitlink-statistics.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.h

  Log Message:
  -----------
  [llvm-jitlink] Move statistics code into a separate file.

Further isolates statistics gathering / reporting code from the rest of llvm-jitlink.


  Commit: 331a54d670722f5ee6b64a25d1547df3679d6c51
      https://github.com/llvm/llvm-project/commit/331a54d670722f5ee6b64a25d1547df3679d6c51
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [llvm-jitlink] Don't return immediately in -noexec mode, just skip execution.

Skipping execution rather than bailing out early means that:
1. Explicit teardown of JIT'd code will happen at the same point (via the call
   to ExecutionSession::endSession) regardless of whether -noexec is used.
2. The -show-times option will work with -noexec.


Compare: https://github.com/llvm/llvm-project/compare/9d9cde5a903a...331a54d67072


More information about the All-commits mailing list