[lld] [ELF] Merge exportDynamic into versionId (PR #71272)
Igor Kudrin via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 4 00:06:46 PDT 2023
================
----------------
igorkudrin wrote:
Maybe the condition in `combineVersionedSymbol()` should be updated to avoid reading out of bounds.
```
if (sym2->versionId > VER_NDX_GLOBAL
? config->versionDefinitions[sym2->versionId].name == suffix1 + 1
: sym1->section == sym2->section && sym1->value == sym2->value) {
```
https://github.com/llvm/llvm-project/pull/71272
More information about the llvm-commits
mailing list