aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-11-16 01:03:52 -0800
committerFangrui Song <i@maskray.me>2023-11-16 01:03:52 -0800
commit255ea486085fca79d21eb0082594579abdbd89d0 (patch)
treecbad4b92d543d9217eda9f2eab5a9236b950a112 /llvm/lib/Bitcode
parentc95d5813b823bbb61cd7d676b959e64754098f49 (diff)
downloadllvm-255ea486085fca79d21eb0082594579abdbd89d0.zip
llvm-255ea486085fca79d21eb0082594579abdbd89d0.tar.gz
llvm-255ea486085fca79d21eb0082594579abdbd89d0.tar.bz2
[ELF] Merge verdefIndex into versionId. NFC (#72208)
The two fields are similar. `versionId` is the Verdef index in the output file. It is set for `--exclude-id=`, version script patterns, and `sym@ver` symbols. `verdefIndex` is the Verdef index of a Sharedfile (SharedSymbol or a copy-relocated Defined), the default value -1 is also used to indicate that the symbol has not been matched by a version script pattern (https://reviews.llvm.org/D65716). It seems confusing to have two fields. Merge them so that we can allocate one bit for #70130 (suppress --no-allow-shlib-undefined error in the presence of a DSO definition).
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions