diff options
| author | Jacek Caban <jacek@codeweavers.com> | 2024-03-15 12:38:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-15 12:38:41 +0100 |
| commit | c7fc95baae8e662506c22511b29e1ad86b910248 (patch) | |
| tree | 97a2463e17359ef1977a27e6b6ed9e5c80cc87cc /llvm/unittests/ADT/APIntTest.cpp | |
| parent | 5334afcad827a6284ff56f5bde81d4e3416aae8c (diff) | |
| download | llvm-c7fc95baae8e662506c22511b29e1ad86b910248.zip llvm-c7fc95baae8e662506c22511b29e1ad86b910248.tar.gz llvm-c7fc95baae8e662506c22511b29e1ad86b910248.tar.bz2 | |
[Object][Archive][NFC] Create all symbolic files objects before calculating offsets. (#85229)
This is refactoring preparing to move UseECMap computation to the
archive writer. We currently require writeArchive caller to pass that.
This is not practical for llvm-ar, which currently interprets at most
one passed object. For a reliable UseECMap, we need to interpret all
symbolic objects: we may have, for example, a list of x86_64 files
followed by aarch64 file, which indicates that we should use EC map for
x86_64 objects.
This commit interprets symbolic files in a separated pass, which will be
a convenient place to implement UseECMap computation in the follow up.
It also makes accessing the next member for AIX big archive offset
computation a bit easier.
Diffstat (limited to 'llvm/unittests/ADT/APIntTest.cpp')
0 files changed, 0 insertions, 0 deletions
