[all-commits] [llvm/llvm-project] ec32f9: [llvm-jitlink] Add -show-jit-result option (#226149)

Lang Hames via All-commits all-commits at lists.llvm.org
Thu Sep 24 16:07:10 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec32f94a2d5f871624fce2e0c51c4902ee02ec15
      https://github.com/llvm/llvm-project/commit/ec32f94a2d5f871624fce2e0c51c4902ee02ec15
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

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

  Log Message:
  -----------
  [llvm-jitlink] Add -show-jit-result option (#226149)

Add a -show-jit-result option that prints the int result of the JIT'd
main / entry function to stdout as:

  JIT result: <return value>

This makes the result of the JIT'd main / entry function FileCheck-able,
and distinguishable from an llvm-jitlink failure.

This will be used in upcoming ORC runtime tests.

Since we don't currently run code under llvm-jitlink in LLVM regression
tests, this commit does not include an LLVM-side test.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list