aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/Syntax/TreeTest.cpp
diff options
context:
space:
mode:
authorJames Henderson <james.henderson@sony.com>2020-03-18 15:38:12 +0000
committerJames Henderson <james.henderson@sony.com>2020-03-20 10:54:18 +0000
commit86b093d1a18c1d4ccd3578e70e738a0f249ab19e (patch)
treee7f7e0b5ce0e6c8641c8ec2de6020a9dc83ad836 /clang/unittests/Tooling/Syntax/TreeTest.cpp
parentfd7300f717c18c861e77685efe6f16f12fb63ae7 (diff)
downloadllvm-86b093d1a18c1d4ccd3578e70e738a0f249ab19e.zip
llvm-86b093d1a18c1d4ccd3578e70e738a0f249ab19e.tar.gz
llvm-86b093d1a18c1d4ccd3578e70e738a0f249ab19e.tar.bz2
[llvm-readobj] Allow syms from all sections to match stack size entries
Prior to this change, for non-relocatable objects llvm-readobj would assume that all symbols that corresponded to a stack size section's entries were in the section specified by the section's sh_link field. In the presence of an output section description combining SHF_LINK_ORDER sections linking different output sections, this cannot be respected, since linker script section patterns are "by name" by nature. Consequently, the sh_link value would not be correct for all section entries. This patch changes llvm-readobj to ignore the section of symbols in a non-relocatable object. Fixes https://bugs.llvm.org/show_bug.cgi?id=45228. Reviewed by: grimar, MaskRay Differential Revision: https://reviews.llvm.org/D76425
Diffstat (limited to 'clang/unittests/Tooling/Syntax/TreeTest.cpp')
0 files changed, 0 insertions, 0 deletions