diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2020-09-18 15:21:54 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2020-09-22 11:55:15 +0300 |
commit | 28b84dd138666abc005de4810af16bcf007530ea (patch) | |
tree | d3824e9c7480c887a4e22455b44553ab5e4d1f37 /clang/unittests/Tooling/Syntax/TreeTest.cpp | |
parent | ed229132f1c4ea2ba0644fc345d8279e47a00565 (diff) | |
download | llvm-28b84dd138666abc005de4810af16bcf007530ea.zip llvm-28b84dd138666abc005de4810af16bcf007530ea.tar.gz llvm-28b84dd138666abc005de4810af16bcf007530ea.tar.bz2 |
[llvm-readobj/elf] - Stop reporting invalid extended indexes in warnings for unnamed section symbols.
We have an issue with `getFullSymbolName`: it assumes that the symbol passed is
always in the `.symtab`, what is wrong. We might calculate and report a wrong index currently.
I've added a test case revealing that.
This patch adds the "symbol index" argument to `getFullSymbolName` signature,
what fixes the issue.
Differential revision: https://reviews.llvm.org/D87899
Diffstat (limited to 'clang/unittests/Tooling/Syntax/TreeTest.cpp')
0 files changed, 0 insertions, 0 deletions