[all-commits] [llvm/llvm-project] 9ec781: [AIX]export function descriptor symbols related to...
Chen Zheng via All-commits
all-commits at lists.llvm.org
Sat Aug 10 03:09:50 PDT 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: 9ec7815e2bed8421bf2967e1f122128dbcf49979
https://github.com/llvm/llvm-project/commit/9ec7815e2bed8421bf2967e1f122128dbcf49979
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-08-10 (Sat, 10 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.
```
(cherry picked from commit 396343f17b1182ff8ed698beac3f9b93b1d9dabd)
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