diff options
author | James Henderson <jh7370@my.bristol.ac.uk> | 2019-11-04 12:00:39 +0000 |
---|---|---|
committer | James Henderson <jh7370@my.bristol.ac.uk> | 2019-11-04 12:04:04 +0000 |
commit | ef85f47595a905475d3e7b8d1441ed69cb226d9c (patch) | |
tree | f71a6b98acd2dc26b41339396b5f381c2fa8c79e /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 31ed36d0447def348af7b1d27daceb57d063382f (diff) | |
download | llvm-ef85f47595a905475d3e7b8d1441ed69cb226d9c.zip llvm-ef85f47595a905475d3e7b8d1441ed69cb226d9c.tar.gz llvm-ef85f47595a905475d3e7b8d1441ed69cb226d9c.tar.bz2 |
[llvm-readobj] Change errors to warnings for symbol section name dumping
Also only print each such warning once.
LLVM-style output will now print "<?>" for sections it cannot identify,
e.g. because the section index is invalid. GNU output continues to print
the raw index. In both cases where the st_shndx value is SHN_XINDEX and
the index cannot be looked up in the SHT_SYMTAB_SHNDX section (e.g.
because it is missing), the symbol is printed like other symbols with
st_shndx >= SHN_LORESERVE.
Reviewed by: grimar, MaskRay
Differential Revision: https://reviews.llvm.org/D69671
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions