[all-commits] [llvm/llvm-project] 89e730: [llvm-jitlink] Add -platform for explicit platform...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Sat Oct 3 14:18:12 PDT 2026


  Branch: refs/heads/users/vitalybuka/spr/nfctsan-move-restorestack-before-scopedreport-in-reportdestroylocked
  Home:   https://github.com/llvm/llvm-project
  Commit: 89e73043002530e7df3da13e423258f6766f23bf
      https://github.com/llvm/llvm-project/commit/89e73043002530e7df3da13e423258f6766f23bf
  Author: Lang Hames <lhames at gmail.com>
  Date:   2026-10-04 (Sun, 04 Oct 2026)

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

  Log Message:
  -----------
  [llvm-jitlink] Add -platform for explicit platform selection (#228703)

The -platform option can be passed to llvm-jitlink to select the ORC
Platform class to be used for the session. Values are:

  - none: Do not use a Platform
  - native: Auto-detect the executor platform
  - macho: Use MachOPlatform
  - elfnix: Use ELFNixPlatorm
  - coff: Use COFFPlatform

If no -platform argument is given then the default depends on whether an
-orc-runtime option was used. If -orc-runtime was used then the default
is "native". If -orc-runtime was not used then the default is "none".

There should be no functional change from this patch. The intent is to
allow the platform to be explicitly specified (previously it was always
implicitly auto-detected, equivalent to the "native" value), and to
allow new platform variants to be easily added and tested.

There is no testcase for this patch since all available platform options
depend on the ORC runtime, which LLVM tests cannot depend on. Upcoming
ORC runtime tests will exercise this option.


  Commit: 323e9e766315ca5bda324400b74f5fcfba0cdfea
      https://github.com/llvm/llvm-project/commit/323e9e766315ca5bda324400b74f5fcfba0cdfea
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

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

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]


  Commit: 720511ac7542c0c27feeb2af7d406f1437330cfc
      https://github.com/llvm/llvm-project/commit/720511ac7542c0c27feeb2af7d406f1437330cfc
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-10-03 (Sat, 03 Oct 2026)

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

  Log Message:
  -----------
  Rebase onto main

Created using spr 1.3.7


Compare: https://github.com/llvm/llvm-project/compare/16033105bae4...720511ac7542

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