Skip to content

Commit 3abcfa8

Browse files
committed
Add Gsoc banner
1 parent 07f5f48 commit 3abcfa8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_posts/2025-05-18-Advanced-symbol-resolution-and-reoptimization-for-clang-repl.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
title: "Advanced symbol resolution and re-optimization for Clang-Repl"
33
layout: post
4-
excerpt: "Advanced symbol resolution and reoptimization for Clang-Repl is a Google Summer of Code 2025 project. It aims to improve Clang-Repl and ORC JIT by adding support for automatically loading dynamic libraries when symbols are missing. This removes the need for users to load libraries manually and makes things work more smoothly."
4+
excerpt: "Advanced symbol resolution and re-optimization for Clang-Repl is a Google Summer of Code 2025 project. It aims to improve Clang-Repl and ORC JIT by adding support for automatically loading dynamic libraries when symbols are missing. This removes the need for users to load libraries manually and makes things work more smoothly."
55
sitemap: false
66
author: Sahil Patidar
77
permalink: blogs/gsoc25_sahil_introduction_blog/
8-
banner_image: /images/blog/gsoc-banner.png
8+
banner_image: /images/blog/gsoc_clang_repl.jpeg
99
date: 2025-05-18
1010
tags: gsoc llvm clang-repl orc-jit auto-loading
1111
---
@@ -34,7 +34,7 @@ Another part of this project is to add **re-optimization support** to Clang-Repl
3434

3535
The primary objective of this project is to enable **automatic loading of dynamic libraries for unresolved symbols** in Clang-Repl. Since Clang-Repl heavily relies on LLVM's **ORC JIT** for incremental compilation and execution, our work focuses on extending ORC JIT to support this capability for out-of-process execution enviroment.
3636

37-
Currently, ORC JIT handles dynamic library symbol resolution through the `DynamicLibrarySearchGenerator`, which is registered for each loaded dynamic library. This generator is responsible for symbol lookup and interacts with the **Executor Process Control (EPC)** layer to resolve symbols during execution. Specifically, it uses a `DylibHandle` to identify which dynamic library to search for the unresolved symbol. On the executor side, the `SimpleExecutorDylibManager` API performs the actual lookup using this handle.
37+
Currently, ORC JIT handles dynamic library symbol resolution through the `DynamicLibrarySearchGenerator`, which is registered for each loaded dynamic library. This generator is responsible for symbol lookup and interacts with the **Executor Process Control** layer to resolve symbols during execution. Specifically, it uses a `DylibHandle` to identify which dynamic library to search for the unresolved symbol. On the executor side, the `SimpleExecutorDylibManager` API performs the actual lookup using this handle.
3838

3939
To support **auto-loading in out-of-process execution**, Lang Hames proposed a design involving two new components:
4040

images/blog/gsoc_clang_repl.jpeg

99 KB
Loading

0 commit comments

Comments
 (0)