aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorGeorgii Rymar <grimar@accesssoftek.com>2020-09-14 16:38:29 +0300
committerGeorgii Rymar <grimar@accesssoftek.com>2020-09-16 12:36:09 +0300
commita8d02015fcb783d5fdf1e09edd1b9e152c5d19b7 (patch)
treea3143effe2b5264dee7d396911b9c489ee0125cf /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent77152a6b7ac07ce65568d7c69305653e7cad4bb0 (diff)
downloadllvm-a8d02015fcb783d5fdf1e09edd1b9e152c5d19b7.zip
llvm-a8d02015fcb783d5fdf1e09edd1b9e152c5d19b7.tar.gz
llvm-a8d02015fcb783d5fdf1e09edd1b9e152c5d19b7.tar.bz2
[llvm-readobj][test] - Improve section-symbols.test
`section-symbols.test` tests how we print section symbols in different situations. We might have 2 different cases: 1) A named STT_SECTION symbol. 2) An unnamed STT_SECTION symbol. Usually section symbols have no name and then `--symbols` uses their section names when prints them. If symbol has a name, then it is used. For `--relocations` we also want to have this logic probably, but currently we always ignore symbol names and always use section names. It is not consistent with GNU readelf and with our logic for `--symbols`. This patch refines testing to document the existent behavior and improve coverage. Differential revision: https://reviews.llvm.org/D87612
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions