diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2015-02-17 18:54:22 +0000 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2015-02-17 18:54:22 +0000 |
commit | 1d902b7cc7cfc2f08cd6ba52acd1cd44ac291b93 (patch) | |
tree | ea1f3197cbdde0da4496e0d3a8ab1795f827260f /llvm/lib/IR/DIBuilder.cpp | |
parent | 79df18703451f0445a1c5a2ccbc47597666e9d0c (diff) | |
download | bcm5719-llvm-1d902b7cc7cfc2f08cd6ba52acd1cd44ac291b93.tar.gz bcm5719-llvm-1d902b7cc7cfc2f08cd6ba52acd1cd44ac291b93.zip |
[Object] Support reading 64-bit MIPS ELF archives
The 64-bit MIPS ELF archive file format is used by MIPS64 targets.
The main difference from a regular archive file is the symbol table format:
1. ar_name is equal to "/SYM64/"
2. number of symbols and offsets are 64-bit integers
http://techpubs.sgi.com/library/manuals/4000/007-4658-001/pdf/007-4658-001.pdf
Page 96
The patch allows reading of such archive files by llvm-nm, llvm-objdump
and other tools. But it does not support archive files with number of symbols
and/or offsets exceed 2^32. I think it is a rather rare case requires more
significant modification of `Archive` class code.
http://reviews.llvm.org/D7546
llvm-svn: 229520
Diffstat (limited to 'llvm/lib/IR/DIBuilder.cpp')
0 files changed, 0 insertions, 0 deletions