aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorBen Langmuir <blangmuir@apple.com>2024-01-05 15:32:29 -0800
committerGitHub <noreply@github.com>2024-01-05 15:32:29 -0800
commit08c5f1fede969e687e77d0508008682e5f188f49 (patch)
treeba88473632bf946f18fdbf8581ae7d7bf251c9cb /clang/lib/CodeGen/CodeGenModule.cpp
parenta9c5bddc8f18926bac6dc224144a32512207bd38 (diff)
downloadllvm-08c5f1fede969e687e77d0508008682e5f188f49.zip
llvm-08c5f1fede969e687e77d0508008682e5f188f49.tar.gz
llvm-08c5f1fede969e687e77d0508008682e5f188f49.tar.bz2
[ORC] Add absoluteSymbolsLinkGraph to expose absolute symbols to platform (#77008)
Adds a function to create a LinkGraph of absolute symbols, and a callback in dynamic library search generators to enable using it to expose its symbols to the platform/orc runtime. This allows e.g. using __orc_rt_run_program to run a precompiled function that was found via dlsym. Ideally we would use this in llvm-jitlink's own search generator, but it will require more work to align with the Process/Platform JITDylib split, so not handled here. As part of this change we need to handle LinkGraphs that only have absolute symbols.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions