Skip to content

[cling][JIT] Inject ORC perf symbols into the process JITDylib#22255

Open
devajithvs wants to merge 1 commit into
root-project:masterfrom
devajithvs:perf-fix
Open

[cling][JIT] Inject ORC perf symbols into the process JITDylib#22255
devajithvs wants to merge 1 commit into
root-project:masterfrom
devajithvs:perf-fix

Conversation

@devajithvs
Copy link
Copy Markdown
Contributor

@devajithvs devajithvs commented May 12, 2026

LLVM ORC's perf support plugin expects the symbols llvm_orc_registerJITLoaderPerf* to be resolvable through the process symbol table.

When ROOT is built, these symbols are hidden in libCling.so and cannot be resolved. Enabling perf fails when the plugin attempts to look them up.

This is similar to the existing manual symbol injection for compiler-rt helpers on macOS and for symbols in libc_nonshared.a.

You will still need perf-inject step.

Related: #21940
CC: @vepadulano

LLVM ORC's perf support plugin expects the symbols
`llvm_orc_registerJITLoaderPerf*` to be resolvable through the process
symbol table.

When ROOT is built, these symbols are hidden in libCling.so and
cannot be resolved. Enabling perf fails when the plugin attempts to
look them up.

This is similar to the existing manual symbol injection for compiler-rt
helpers on macOS and for symbols in libc_nonshared.a.
@github-actions
Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 9h 4m 41s ⏱️
 3 852 tests  3 852 ✅ 0 💤 0 ❌
76 072 runs  76 072 ✅ 0 💤 0 ❌

Results for commit 508f144.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant