[all-commits] [llvm/llvm-project] 43d6e3: [compiler-rt] Expose shared DSO helpers for compil...
Yaxun (Sam) Liu via All-commits
all-commits at lists.llvm.org
Fri Apr 10 06:30:28 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 43d6e3874e67ac1f94482b43a98f595163e8cb6e
https://github.com/llvm/llvm-project/commit/43d6e3874e67ac1f94482b43a98f595163e8cb6e
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2026-04-10 (Fri, 10 Apr 2026)
Changed paths:
M compiler-rt/lib/interception/interception.h
M compiler-rt/lib/interception/interception_linux.cpp
M compiler-rt/lib/interception/interception_win.cpp
M compiler-rt/lib/interception/tests/interception_linux_test.cpp
Log Message:
-----------
[compiler-rt] Expose shared DSO helpers for compiler-rt runtimes (#191098)
The motivation of this PR is to refactor and expose DSO helper functions
so
they can be used by all compiler-rt libraries, including the profile
library,
without duplicating dlopen/dlsym (non-Windows) or
LoadLibrary/GetProcAddress
(Windows) logic in each runtime.
Implement the helpers in namespace __interception in
interception_linux.cpp for
non-Windows targets and interception_win.cpp for Windows, and use them
from the
existing Linux interception path for RTLD_NEXT/RTLD_DEFAULT/dlvsym
lookups.
This is NFC for existing libraries that already use interception's
public APIs;
sanitizer and interception lit behavior is unchanged.
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