[all-commits] [llvm/llvm-project] 396343: [AIX]export function descriptor symbols related to...
Chen Zheng via All-commits
all-commits at lists.llvm.org
Mon Aug 5 20:08:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 396343f17b1182ff8ed698beac3f9b93b1d9dabd
https://github.com/llvm/llvm-project/commit/396343f17b1182ff8ed698beac3f9b93b1d9dabd
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-08-06 (Tue, 06 Aug 2024)
Changed paths:
M llvm/utils/extract_symbols.py
Log Message:
-----------
[AIX]export function descriptor symbols related to template functions. (#101920)
This fixes regressions caused by
https://github.com/llvm/llvm-project/pull/97526
After that patch, all undefined references to DS symbol are removed.
This makes DS symbols(for template functions) have no reference in some
cases. So extract_symbols.py does not export these DS symbols for these
cases.
On AIX, exporting the function descriptor depends on references to the
function descriptor itself and the function entry symbol.
Without this fix, on AIX, we get:
```
rtld: 0712-001 Symbol _ZN4llvm15SmallVectorBaseIjE13mallocForGrowEPvmmRm was referenced
from module llvm-project/build/unittests/Passes/Plugins/TestPlugin.so(), but a runtime definition
of the symbol was not found.
```
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