[all-commits] [llvm/llvm-project] 0f6e6f: Add unit tests for ELF filter-library symbol handl...
aokblast via All-commits
all-commits at lists.llvm.org
Sun Jul 12 01:35:51 PDT 2026
Branch: refs/heads/users/aokblast/lldb/fix_auxilary_handle
Home: https://github.com/llvm/llvm-project
Commit: 0f6e6fdb3d46732c4bd87229b2a944db5bdef91e
https://github.com/llvm/llvm-project/commit/0f6e6fdb3d46732c4bd87229b2a944db5bdef91e
Author: ShengYi Hung <aokblast at FreeBSD.org>
Date: 2026-07-12 (Sun, 12 Jul 2026)
Changed paths:
M lldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp
M lldb/unittests/Target/CMakeLists.txt
A lldb/unittests/Target/ReExportedSymbolTest.cpp
Log Message:
-----------
Add unit tests for ELF filter-library symbol handling.
* ObjectFileELFTest.FilterLibraryPlaceholderSymbols: a yaml2obj ELF
filter library with two DT_AUXILIARY entries checks that
GetReExportedLibraries() returns the filtees in dynamic-section
order, that zero-sized exported functions become re-exported symbols
recording the first filtee and the unversioned name (@VERSION suffix
stripped), and that nonzero-sized and local definitions are left
alone.
* ReExportedSymbolTest.ResolveThroughFilteesInOrder: a target holding
a filter library and two filtee modules checks that
Symbol::ResolveReExportedSymbol finds a definition in the first
filtee via the library recorded on the symbol, continues to the next
filtee in declaration order for symbols the first filtee lacks, and
that without the containing module only the recorded library is
searched.
Co-Authored-By: Claude Fable 5 <noreply at anthropic.com>
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