aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/Syntax/TreeTest.cpp
diff options
context:
space:
mode:
authorGeorgii Rymar <grimar@accesssoftek.com>2020-09-18 15:21:54 +0300
committerGeorgii Rymar <grimar@accesssoftek.com>2020-09-22 11:55:15 +0300
commit28b84dd138666abc005de4810af16bcf007530ea (patch)
treed3824e9c7480c887a4e22455b44553ab5e4d1f37 /clang/unittests/Tooling/Syntax/TreeTest.cpp
parented229132f1c4ea2ba0644fc345d8279e47a00565 (diff)
downloadllvm-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