Skip to content

Commit cd6a25f

Browse files
committed
Fix another typo
1 parent 6de3d11 commit cd6a25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/SymbolInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const void *swift::SymbolInfo::getBaseAddress() const {
3939
#if defined(_WIN32) && !defined(__CYGWIN__)
4040
return reinterpret_cast<const void *>(_package.si.ModBase);
4141
#elif SWIFT_STDLIB_HAS_DLADDR
42-
return _info.dli_faddr;
42+
return _info.dli_fbase;
4343
#else
4444
return nullptr;
4545
#endif

0 commit comments

Comments
 (0)